update help elma

This commit is contained in:
2025-05-27 21:32:35 +04:00
parent a6b05d6789
commit 898b22bf32
4500 changed files with 89372 additions and 120699 deletions

View File

@ -1,20 +1,19 @@
<!DOCTYPE html>
<html lang="ru">
<html lang="en">
<head>
<title>Внешний портал в приложении</title>
<title>External portal in the application</title>
<meta name="generator" content="Help+Manual" />
<meta name="keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Внешние пользователи могут взаимодействовать с порталом из браузера, приложения для ПК (версии 2.0.6 и выше), а также из мобильного приложения (версии 1.3.0 и выше). &nbsp;" />
<meta name="description" content="External users can interact with the portal from a browser, BRIX for desktop (version 2.0.6 and higher), and mobile devices (version&nbsp;1.3.0 and higher)." />
<meta name="picture" content="" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Cправка по Low-code платформе ELMA365" />
<meta property="og:url" content="https://elma365.com/ru/help" />
<meta property="og:image" content="" />
<meta property="og:site_name" content="ELMA365" />
<meta property="og:title" content="Full documentation for BRIX365 platform. Low-code developer guide. User guide. Admin guide. Developer guide." />
<meta property="og:url" content="https://brix365.com/en/help" />
<meta property="og:image" content="" />
<link rel="icon" href="favicon.png" type="image/png" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
@ -24,7 +23,6 @@
<link rel="stylesheet" href="./article.css" />
<link rel="stylesheet" href="./glossary.css" />
<link rel="stylesheet" href="./theme.css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="helpman_topicinit.js"></script>
@ -36,16 +34,16 @@
</head>
<body>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M6ETBEC1R9"></script><script>window.dataLayer=window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date()); gtag('config', 'G-M6ETBEC1R9');</script>
<script>!function(e,t,c,n,r,a,m){e.ym=e.ym||function(){(e.ym.a=e.ym.a||[]).push(arguments)},e.ym.l=1*new Date;for(var s=0;s<document.scripts.length;s++)if(document.scripts[s].src===n)return;a=t.createElement(c),m=t.getElementsByTagName(c)[0],a.async=1,a.src=n,m.parentNode.insertBefore(a,m)}(window,document,"script","https://mc.yandex.ru/metrika/tag.js"),ym(83179930,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0})</script><noscript><div><img alt=""src=https://mc.yandex.ru/watch/83179930 style=position:absolute;left:-9999px></div></noscript>
<header class="header elma-365">
<div class="container">
<a class="header__logo" href="https://elma365.com/ru/help">
<img src="./logo.svg" alt="header logo">
<a class="header__logo" href="https://brix365.com/en/help">
<img src="./logo-en.svg" alt="header logo">
</a>
<!-- <div class="hero__search-form" id="search-panel">
<form class="search-form" onsubmit="ym(83179930,'reachGoal','poisk')">
<form class="search-form" onsubmit="ym(83180416,'reachGoal','poisk')">
<label class="search-form__label">
<span id="reset-search" class="search__icon"></span>
<input class="search-form__input" type="text">
@ -65,7 +63,7 @@
</div>
<div class="header__navi">
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a class="project-link" href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li><li><a class="project-link" href="https://elma365.com/ru/help/business_solutions/-elma365-store.html">Бизнес-решения</a></li></ul></span></li><li><a href="https://api.elma365.com/ru/"target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/"target="_blank">SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/" target="_blank">Академия</a></li><li><a href="https://elma365.com/ru/" target="_blank">Сайт ELMA365</a></li></ul>
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a class="project-link" href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://brix365.com/en/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li><li><a class="project-link" href="https://brix365.com/en/help/business_solutions/-elma365-store.html">Business Solutions</a></li></ul></span></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li><li><a href="https://tssdk.brix365.com/" target="_blank">SDK</a></li></ul>
</div>
@ -80,8 +78,8 @@
<aside class="sidebar" id="sidebar">
<div class="sidebar__header">
<a class="header__logo" href="https://elma365.com/ru/help">
<img src="./logo-light.svg">
<a class="header__logo" href="https://brix365.com/en/help">
<img src="./logo-light-en.svg">
</a>
<span class="sidebar__close elma-365-close" id="close"></span>
</div>
@ -94,15 +92,15 @@
<div class="article-inner">
<div class="content">
<header class="article__header">
<div class="article__bread" style="display:flex; gap:10px;">
<div class="article__bread" style="display:flex; gap:10px;">
<span id="subcategory" class="search-res__item-category search-res__item-category_subcategory subcategory article__badge"></span>
<div class="topic__breadcrumbs">
<p><a href="service-portal.html">Внешний портал</a> / Внешний портал в приложении</p>
<p><a href="service-portal.html">External portal</a> / External portal in the application</p>
</div>
</div>
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Внешний портал в приложении</span></h1>
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">External portal in the application</span></h1>
</div>
</header>
@ -111,31 +109,32 @@
<a href="#h1-article" class="scroll-top"></a>
</div>
<!-- Placeholder for topic body. -->
<p class="p_Normal">Внешние пользователи могут взаимодействовать с порталом из браузера, <a href="360027248771.html" class="topiclink">приложения для ПК</a> (версии 2.0.6 и выше), а также из <a href="mobile_app.html" class="topiclink">мобильного приложения</a> (версии 1.3.0 и выше). &nbsp;</p>
<p class="p_Normal">Чтобы внешние пользователи могли работать с порталом из приложений, <a href="360006871932.html#administrators" class="topiclink">Администратору</a> системы необходимо разместить на странице портала специальную ссылку для доступа из приложения. </p>
<p class="p_Normal">Для этого в дизайнере интерфейсов <a href="portal-setting.html" class="topiclink">страницы портала</a> перейдите на вкладку <span style="font-weight: bold;">Скрипты</span> и добавьте метод <code><b>Namespace.portal.generateELMAAppURL()</b></code>. Затем разместите полученную ссылку на странице портала. Например, с помощью свойства типа <a href="360009707032.html#link" class="topiclink">Ссылка</a>, в которое будет передаваться сгенерированное методом значение. Подробный пример размещения ссылки на странице мы рассмотрим <a href="portal-app.html#example" class="topiclink">далее</a>. </p>
<p class="p_Normal">Также вы можете преобразовать ссылку в QR-код с помощью стороннего сервиса и разместить изображение с кодом на странице, например, с помощью виджета <a href="text_widget.html" class="topiclink">Текст</a>. </p>
<p class="p_Normal">Чтобы получить доступ к порталу в приложении, пользователю необходимо перейти по размещённой на странице ссылке. После этого откроется приложение ELMA365 со страницей авторизации на внешнем портале. </p>
<p class="p_Normal">Для получения доступа к порталу с помощью QR-кода пользователю необходимо открыть страницу портала, на которой размещён код, и мобильное приложение ELMA365. Затем на странице авторизации в приложении нажать кнопку <span style="font-weight: bold;">Отсканировать код</span>. После сканирования изображения откроется страница входа на внешний портал. </p>
<h2 class="p_Heading2"><a id="example" class="hmanchor"></a><span class="f_Heading2">Пример </span></h2>
<p class="p_Normal">Рассмотрим пример добавления на страницу портала ссылки для входа в приложение. Сделаем так, чтобы ссылка генерировалась и отображалась на странице портала после нажатия кнопки. Для этого: </p>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">External users can interact with the portal from a browser, </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="360027248771.html" class="topiclink">BRIX for desktop</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (version 2.0.6 and higher), and </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="mobile_app.html" class="topiclink">mobile devices</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (version 1.3.0 and higher).</span></p>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">To enable external users to work with the portal from applications, the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="360006871932.html#administrators" class="topiclink">Administrator</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> needs to place a special link on the portal page for access from the application.</span></p>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">To do this, in the interface designer of the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="portal-setting.html" class="topiclink">portal page</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">, go to the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Scripts</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> tab and add the </span><code><b>Namespace.portal.generateELMAAppURL()</b></code><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> method. Then place the generated link on the portal page. For example, using a property of the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="360009707032.html#link" class="topiclink">Link</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> type, into which the value generated by the method will be passed. We will consider a detailed example of placing the link on the page </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="portal-app.html#example" class="topiclink">later</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">.</span></p>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">You can also convert the link into a QR code using an external service and also place the image with the code on the page, for example, using the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="text_widget.html" class="topiclink">Text</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"><a href="text_widget.html" class="topiclink"> </a>widget.</span></p>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">To access the portal in the application, the user needs to follow the link placed on the page. This will open the BRIX application with the page of authentication to the external portal.</span></p>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">To access the portal via a QR code, the user needs to open the page of the portal where the code is placed and the BRIX application for mobile devices. Then on the authentication page in the application, they need to click </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Scan QR code</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">. After scanning the image, the sign-in page to the external portal will open.</span></p>
<h2 class="p_Heading2"><a id="example" class="hmanchor"></a><span class="f_Heading2">Example</span></h2>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">Lets consider an example of adding an application sign-in link to the portal page. We will make it so that the link is generated and displayed on the portal page after the button is clicked. To do this:</span></p>
<ol style="list-style-type:upper-roman">
<li value="1" class="p_Normal">Перейдите в <a href="interface_designer.html" class="topiclink">дизайнер интерфейсов</a> страницы внешнего портала. </li><li value="2" class="p_Normal">На вкладке <span style="font-weight: bold;">Настройки</span> в поле <span style="font-weight: bold;">Доступные элементы</span> включите опцию <span style="font-weight: bold;">Разрешить использование всех элементов</span>, чтобы включить доступ к глобальным константам. </li><li value="3" class="p_Normal">На вкладке <span style="font-weight: bold;">Контекст</span> создайте свойство типа <a href="360009707032.html#link" class="topiclink">Ссылка</a>. </li></ol>
<p class="p_Normal" style="margin: 0 0 0 36px;"><img alt="portal-app-1" width="516" height="362" style="margin:0;width:516px;height:362px;border:none" src="portal-app-1.png"/></p>
<li value="1" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">Go to the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="interface_designer.html" class="topiclink">interface designer</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> of the external portal page.</span></li><li value="2" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">On the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Settings</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> tab, in the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Available items</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> section, enable the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Allow using all items</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> option to enable access to global constants.</span></li><li value="3" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">On the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Context</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> tab, create a property of </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="360009707032.html" class="topiclink">Link</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> type.</span></li></ol>
<p style="line-height: 1.28; margin: 0 0 11px 34px;"><img alt="portal-app-1" width="585" height="466" style="margin:0;width:585px;height:466px;border:none" src="portal-app-1.png"/></p>
<ol style="list-style-type:upper-roman" start="4">
<li value="4" class="p_Normal">Откройте вкладку <span style="font-weight: bold;">Шаблон</span> и разместите на поле для моделирования созданное свойство. </li><li value="5" class="p_Normal">В открывшемся окне настроек свойства в опции <span style="font-weight: bold;">Только для чтения</span> установите значение <span style="font-weight: bold;">Да</span>. Это нужно, чтобы ссылка была доступна для перехода по нажатию. Сохраните настройки. </li><li value="6" class="p_Normal">Вынесите на поле виджет <a href="button_widget.html" class="topiclink">Кнопка</a>. </li><li value="7" class="p_Normal">В открывшемся окне настроек задайте параметры виджета: </li></ol>
<li value="4" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">Open the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Template</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> tab and place the created property on the modeling canvas.</span></li><li value="5" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">In the opened property settings window, set the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Read only</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> option to </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Yes</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">. This is necessary to make the link clickable. Save the settings.</span></li><li value="6" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">Bring up the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #0000ff;"><a href="button_widget.html" class="topiclink">Button</a></span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> widget in the field.</span></li><li value="7" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">In the opened settings window, set the widget parameters:</span></li></ol>
<ul style="list-style-type:disc">
<li class="p_Normal"><span style="font-weight: bold;">Надпись/подсказка</span><span style="font-weight: bold; color: #ff0000;">*</span><span style="color: #ff0000;"> </span>— введите название кнопки, например, <span style="font-weight: bold;">Получить ссылку</span>; </li><li class="p_Normal"><span style="font-weight: bold;">Выполняемый скрипт</span> — добавьте скрипт, который будет генерировать ссылку для входа в приложение и выводить её в поле <span style="font-weight: bold;">Ссылка</span>. Для этого нажмите <span style="font-weight: bold;">Создать</span>, укажите название функции<span style="font-weight: bold;"> getELMAAppURL </span>и выберите<span style="font-weight: bold;"> Сохранить, </span>а затем —<span style="font-weight: bold;"> Открыть</span>. </li></ul>
<p class="p_Normal" style="margin: 0 0 0 35px;"><img alt="portal-app-2" width="612" height="284" style="margin:0;width:612px;height:284px;border:none" src="portal-app-2.png"/></p>
<li style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Title/Tooltip</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold; color: #ff0000;">*</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">. Enter a name for the button, for example, </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Get link</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">.</span></li><li style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Executed script</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">. Add a script that will generate a link and output it in the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Link</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> field to work in the application. To do this, click </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Create</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">, specify the function name:</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;"> getBRIXAppURL</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">, select</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;"> Save</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">, and then click</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;"> Open</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">.</span></li></ul>
<p style="line-height: 1.20; margin: 7px 0 7px 34px;"><img alt="portal-app-2" width="787" height="362" style="margin:0;width:787px;height:362px;border:none" src="portal-app-2.png"/></p>
<ol style="list-style-type:upper-roman" start="8">
<li value="8" class="p_Normal">На открывшейся вкладке <span style="font-weight: bold;">Скрипты</span> добавьте в созданную функцию следующий код: </li></ol>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">async&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">function</span><span class="f_CodeExample">&nbsp;getELMAAppURL():&nbsp;Promise&lt;</span><span class="f_CodeExample" style="font-weight: bold;">void</span><span class="f_CodeExample">&gt;&nbsp;{</span><br />
<span class="f_CodeExample"> &nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">const</span><span class="f_CodeExample">&nbsp;ELMAAppURL&nbsp;=&nbsp;await&nbsp;Namespace.portal.generateELMAAppUrl();</span><br />
<span class="f_CodeExample"> &nbsp;Context.data.link&nbsp;=&nbsp;ELMAAppURL;&nbsp;</span><span class="f_CodeExample">//&nbsp;Присваиваем&nbsp;сгенерированную&nbsp;ссылку&nbsp;переменной&nbsp;типа&nbsp;Ссылка</span><br />
<li value="8" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">On the opened </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Scripts</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> tab, write the following code in the created function:</span></li></ol>
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">async </span><span class="f_CodeExample" style="font-weight: bold;">function</span><span class="f_CodeExample"> getBRIXAppURL(): Promise&lt;</span><span class="f_CodeExample" style="font-weight: bold;">void</span><span class="f_CodeExample">&gt; {</span><br />
<span class="f_CodeExample">  </span><span class="f_CodeExample" style="font-weight: bold;">const</span><span class="f_CodeExample"> BRIXAppURL = await Namespace.portal.generateBRIXAppUrl();</span><br />
<span class="f_CodeExample">  // Assigning the generated link to a variable of the Link type</span><br />
<span class="f_CodeExample">  Context.data.link = BRIXAppURL;</span><br />
<span class="f_CodeExample">}</span></p>
<ol style="list-style-type:upper-roman" start="9">
<li value="9" class="p_Normal">Сохраните и опубликуйте внесённые изменения. </li></ol>
<p class="p_Normal">После этого на странице внешнего портала будет отображаться кнопка, с помощью которой пользователи смогут получить ссылку для работы во внешнем портале из приложения. </p>
<li value="9" style="line-height: 1.20; margin-top: 7px; margin-right: 0; margin-bottom: 7px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">Save and publish the changes.</span></li></ol>
<p style="line-height: 1.20; margin: 7px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">After that, a button will be displayed on the external portal page where users can get the link to work in the external portal from the application.</span></p>
<div class="bottom-nav">
@ -145,14 +144,14 @@
</a>
<a id="next-link" class="topic__navi_next" href="enter-the-portal.html">
<span class="bottom-nav__link">enter-the-portal.html</span> <span
<a id="next-link" class="topic__navi_next" href="solutions-building.html">
<span class="bottom-nav__link">solutions-building.html</span> <span
class="bottom-nav__arrow bottom-nav__arrow--next"></span>
</a>
</div>
<!-- добавляет на страницу строку блок Была ли статья полезной? -->
<div class="feedback-wrap"><div class="feedback" id="feedback"><span><b>Была ли статья полезной?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx">Спасибо за ваш отзыв!</div><div id="feedback-success-popup"><div class="wrap"><button type="button" class="feedback-popup-close">×</button><svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_212_2187)"><path d="M22 0.6875C10.2294 0.6875 0.6875 10.2294 0.6875 22C0.6875 33.7706 10.2294 43.3125 22 43.3125C33.7706 43.3125 43.3125 33.7706 43.3125 22C43.3125 10.2294 33.7706 0.6875 22 0.6875ZM22 40.5625C11.8023 40.5625 3.4375 32.3078 3.4375 22C3.4375 11.8024 11.6922 3.4375 22 3.4375C32.1977 3.4375 40.5625 11.6922 40.5625 22C40.5625 32.1976 32.3078 40.5625 22 40.5625ZM34.1713 16.933L18.6613 32.3186C18.257 32.7197 17.604 32.7171 17.203 32.3128L9.82283 24.873C9.42176 24.4686 9.42434 23.8157 9.82867 23.4146L10.5609 22.6884C10.9652 22.2873 11.6181 22.2899 12.0192 22.6942L17.9468 28.6697L31.9926 14.7366C32.3969 14.3356 33.0498 14.3382 33.4509 14.7425L34.1772 15.4747C34.5783 15.879 34.5757 16.532 34.1713 16.933Z" fill="#27AE60"></path></g><defs><clipPath id="clip0_212_2187"><rect width="44" height="44" fill="white"></rect></clipPath></defs></svg><p>Ваш отзыв успешно отправлен!</p><span>Спасибо за обратную связь.</span></div></div><div class="feedback__popup" id="feedback__popup_why"><button type="button" class="feedback-popup-close">×</button><div class="feedback__popup-header">Уточните, почему:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Рекомендации не помогли</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Текст трудно понять</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Нет ответа на мой вопрос</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Содержание статьи не соответствует заголовку</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Другая причина</label></div><div class="feedback__popup" id="feedback__popup-other"><button type="button" class="feedback-popup-close">×</button> <div class="feedback__popup-header">Расскажите, что вам не понравилось в статье:</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Отправить"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg"/><span class="feedback-form__btn-group_yes-btn">Да</span></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg"/><span class="feedback-form__btn-group_no-btn">Нет</span></label></div><select name="category"><option disabled>Выберите вариант</option><option value="bad_recommendation" selected>Рекомендации не помогли</option><option value="difficult_text">Текст трудно понять</option><option value="no_answer">Нет ответа на мой вопрос</option><option value="bad_header">Содержание статьи не соответствует заголовку</option><option value="other_reason">Другая причина</option></select><input type="submit"></form></div></div>
<div class="feedback" id="feedback"><div class="feedback-help"><span><b>Was this helpful?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx" style="display: none;">Thanks for your feedback!</div><div class="feedback__popup" id="feedback__popup_why" style="display: none;"><div class="feedback__popup-header">Please specify why:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Recommendations did not help me</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Article is hard to understand</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Didn`t answer my question</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Content does not match the topic</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Other</label></div><div class="feedback__popup" id="feedback__popup-other" style="display: none;"><div class="feedback__popup-header">How we can improve it?</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Submit"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg" class="small-img" alt="like"><spanclass="feedback-form__btn-group_yes-btn">Yes</spanclass="feedback-form__btn-group_yes-btn"></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg" class="small-img" alt="dislike"><spanclass="feedback-form__btn-group_no-btn">No</spanclass="feedback-form__btn-group_no-btn"></label></div><select name="category"><option disabled="">Please specify why</option><option value="bad_recommendation" selected="">Recommendations did not help me</option><option value="difficult_text">Article is hard to understand</option><option value="no_answer">Didn`t answer my question</option><option value="bad_header">Content does not match the topic</option><option value="other_reason">Other</option></select><input type="submit"></form></div><div class="found_typo"><p style="margin: 0px; margin-top: 16px !important;"><span><b>Found a typo?</b></span> Select it and press <i>Ctrl+Enter</i> to send us feedback</p></div></div>
</section>
</div>
@ -160,7 +159,7 @@
<input type="checkbox" />
<div class="article__arrow"></div>
<div class="table-of-contents elma365-right" id="toc2Content">
<h3 class="h3-toc">В этой статье</h3>
<h3 class="h3-toc">In this topic</h3>
<nav id="toc2"></nav>
</div>
</aside>
@ -171,63 +170,30 @@
<div class="footer-container">
<div class="footer-mobile">
<ul class="footer-mobile__list"><li><a href="https://api.elma365.com/ru/" target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/" target="_blank">TS SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/elma365" target="_blank">Академия</a></li></ul><ul class="footer-mobile__list"><li><a href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li></ul>
<ul class="footer-mobile__list"><li><a href="https://brix365.com/en/" target="_blank">BRIX</a></li><li><a href="https://tssdk.brix365.com/en/latest/" target="_blank">SDK</a></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li></ul><ul class="footer-mobile__list"><li><a href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li></ul>
</div>
<div class="container">
<div class="footer-wrap">
<div><span class="mobile-question-popup">Отправить фидбэк</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Задать вопрос</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Отправить"></div></form><div class="hidden fade-in question-success-xs">Ваш фидбэк отправлен.</div></div>
<div class="footer-flex-b">
<div class="footer-top">
<span class="footer-copy">&copy; 2025
ELMA365
</span>
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
</a>
</div>
<div class="footer-line">
<div class="footer-line-copy">
<span class="footer-copy">&copy; 2025
ELMA365
</span>
</div>
<ul class="footer-list">
<li class="footer-item"><a href="https://elma365.com/ru/" target="_blank" class="footer-link" style="color: #0D4A75;"><img src="browse.svg" alt="browse icon" class="footer-img">elma365.com</a></li><li class="footer-item"><a href="https://www.youtube.com/user/ELMABPM" target="_blank" class="footer-link"><img src="yt.svg" alt="youtube icon" class="footer-img"></a></li><li class="footer-item"><a href="https://vk.com/elma_bpm" target="_blank" class="footer-link"><img src="vk.svg" alt="vk icon" class="footer-img"></a></li><li class="footer-item"><a href="https://t.me/elmaday" target="_blank" class="footer-link"><img src="tg.svg" alt="telegram icon" class="footer-img"></a></li><li class="footer-item"><a href="https://dzen.ru/elma" target="_blank" class="footer-link"><img src="dzen.svg" alt="dzen icon" class="footer-img"></a></li>
<li class="footer-item">
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
</a>
</li>
</ul>
</div>
</div>
<div class="footer-wrap">
<div><span class="mobile-question-popup">Send feedback</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Ask a question</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Send"></div></form><div class="hidden fade-in question-success-xs">Sent</div></div>
<div class="footer-flex-b">
<span class="footer-copy">&copy; 2025 BRIX</span>
<ul class="footer-list">
<li class="footer-item">
<a href="#" class="arrow-top" style="display: block;"></a>
</li>
</ul>
</div>
</div>
<a href="#" class="arrow-top"></a>
</div>
</footer>
<!-- <script type="text/javascript" src="jquery1.min.js"></script>-->
<iframe name="hmnavigation" style="display:none!important"></iframe>
<!--<script src="./jquery-ui.js"></script> -->
<script src="./jquery-ui.min.js"></script>
<script src="./jquery-ui.js"></script>
<!--script src="//cdn.jsdelivr.net/npm/featherlight@1.7.14/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script-->
<script src="./jquery.tocify.min.js"></script>
<script src="./TypoReporter.min.js"></script>