(...) language tag. The HTML form field can be defined as adding a custom HTML code to the standard code of the WEBCON BPS form. The best solution is to use this form field with the new form rules in javascript mode. After adding a new HTML form field, enter the code in the “Advanced configuration” section. In the “Values” section, all javascript func (...)
(...) .3. version - they allow you to use all HTML language tag. The HTML form field can be defined as adding a custom HTML code to the standard code of the WEBCON BPS form. This article describes the javascript functions that are available for item lists in the HTML form field configuration. Functions for item lists A) Number of records In some situations, there is the ability of defining (...)
Applies to version 2020.1.3; author: Agnieszka Burda The following article is an extension of the HTML form fields article. Global functions In the HTML form field configuration, there are several functions for general information about the application and the process. Fig. 1. Global functions in the HTML form field
(...) rnal components (both open source and licensed) used by WEBCON BPS 2024 R1: C# External components – All C# libraries used by Standalone installation mode and Designer Studio. javascript External components – javascript libraries used by BPS Portal.
(...) a Lupu; 10.05.2024 Have you ever wanted to display information hierarchically? I want to share how you can create accordion-style tables in the system. I built an accordion table using HTML and javascript . The table is generated dynamically by fetching data from a JSON. What does that mean? 🤔 Simply put, the table adjusts automatically based on the data entered in the JSON. This makes the table exc (...)
Hi all! I am new to WebCon BPS. I wonder if it is possible to get all items of a process or a datasource/dictionary defined in BPS from client side via REST API. In SharePoint I did something like this: _api/web/lists/getbytitle('MyList')/items?select=Title... This does not seem to be possible with BPS REST API or at least I did not find it ;-) I am thankful for every hint pushing me into th
(...) pt in a json property called liteDate.liteModel as a json-object as you can see when calling /api/nav/db/{dbId}/app/{appId}/element/{wfdid}/desktop I guess that this liteModel must be available via javascript . I'm wondering, because there is this form from the offical 2021 release paper (see below) with the nicely presented workflow steps on top of it. And I believe that this a Html-Field with some jav (...)
(...) Wondering if it is possible to open the attachment preview dialog by using javascript only. Does anyone already tried to do this? There is the possibility to open the latest attachment, but that's not the solution i'm looking for.
(...) Hi everyone, experienced BPS Designers will remember a time when form rules didn't have an 'Edit mode', where you could select javascript or Form rule. You only had javascript . :) In the meantime the 'Form rule' option has been added an the javascript mode gets little attention, if at all. But how can you do some of the 'Form rule' actions with pure javascript ? If you click on the "Show" button in the exp (...)
(...) ame + " .attributeErrorsPanel").css("height", "0px") $("#" + columnName + " .validation-error-panel").removeClass("has-error") $("#" + columnName + " .attributeErrorsPanel li").remove() } My javascript doesn’t work with item list. It would be nice if we could have a built-in form rule function / JS function like SET ERROR(Field, errorText) - for every form diyplay mode . It would also be desirabl (...)
(...) Hi, Does anyone else have problems with javascript rules not working in the mobile app? Is there any trick to it? Thanks
(...) ctionality to create a new workflow item. On callback of popup item we want to set new workflow element id to dropdown, but obviously the new item is not in dropdown. Is there an easy way (with javascript ) to trigger reload of dropdowns datasource? Thanks a lot in advance & best regards, Nik
Hi all! We are wondering if there is a good way to add new items to an item list on the client side. We already found a way to add new item (which can be triggered by a form rule) and set some form fields before, which then act as default values for the new row. Since it all is asynchronous it has to be a promise chain, like this pseudo code: p.then(() => { SetValue(formField, 'Value'
(...) Hi, How can I use javascript to get the ID of a field that triggered a function? The goal is - if javascript validation fails on field value change, I would like to revert the value of the changed field back to the default value )or previous value). I was researching the uxContext input parameter, but I was unable to find a function or value in the uxContext structure that would contain information a (...)
(...) Good morning, we have a special situation, where we need an configured javascript (?)-Button which works like an "Add Attachment"-function INCLUDING predefined group. We would have defined the Attachment-Section with following groups: General, F1, F2, F3, F4, F5, F6. Our users should load pictures to the attachment (1x for F1-F6). These would be copied to one of six picture fields (F = German for F (...)
(...) Hi everyone, I think any changes to javascript is worth a dedicated thread, since these won't effect everyone and can be quite technical. As everyone has read the change log, it should be no surprise that we need to apply some changes to any javascript based modifications. The cash-dom library has replaced the former jQuery library. The change may affect how form rules work in javascript mode if (...)
Hi all! I want to hide / show / mark as required some form fields based on field Guid. Is there a way to do this easily? When I look at the signature of e.g. Hide function it just seems to take some shrinked DB name (e.g. AttText35) or field id (integer), which is different between environments. Appreciate any hint into right direction. Thanks in advance & best regards, Nik
(...) Hello everyone, we are using javascript for a RestAPI call (long story – it's a requirement from IT). Now I receive the "Response Status Code" and "Response Text" within the javascript , but I also need to send these values back to WEBCON for further processing. Since we usually work with WEBCON without using javascript , I’m lacking the necessary know-how in this area. Can anyone assist me with this? (...)
(...) lds. I mainly failed because I couldn't replicate the logic attached to the choose fields and similar. Therefore I would think we could improve the user experience in some cases if we would have a javascript function which would have parameters for - field name - parent HTML element - label HTML element. If this is the customer DOM The function would be called like this CreateField("Att (...)
(...) tion about a current user Functions connected with date and time support date(value) – takes a date in ISO format as a text (like the constructor of a Date() object in javascript ) and returns a Unix time marker (as a number of milliseconds since 1970) datePart(value, [‘year’|’month’|’day’|’hour’|’minutes’|’se (...)