As the title says, i can't figure out how to add a newline/empty line. To give more context, the user can input what he wants in this field, there is a button that should add a text at the bottom of the textbox, however the text appears besides the user inputed text and i just can't figure out how to change the formrule for it to appear in the nextline without javascript. I appreacite every help i can get.
Is it possible to use process constant in js mode, same way as we would use it in form rule ?
You can easily find info about changes and who and when changed the lock of enviromnent select CHD_ID AS [Change_Id] , CHD_CFCID [Changed_object_code] ,case when CHD_OldValue = 0 then 'Unblocked' when CHD_OldValue = 1 then 'Blocked' end as [Old_value] ,case when CHD_NewValue = 0 then 'Unblocked' when CHD_NewValue = 1 then 'Blocked' end as [New_value] , CHR_TSInsert as [Date of change] , CHR_RowID as [Row change] , CHO_CreatedBy as [Who changed] from ChangeDetails join ChangeRow (...)
Hello community. In my application, I would like to have stopwatch. • Stopwatch should starts and run when the form field with stopwatch is visible and stop when not visible. It should be visible through few steps. When not visible, it will reset. When visible again, it will start again. Alternatively, • JavaScript, HTML, CSS stopwatch with buttons (Start, Reset are enough). Are these requirements feasible to be done in WEBCON? I know, in WEBCON: • There are an HTML form fields, (...)
Hello everyone, I’m still learning how to use JavaScript effectively with WEBCON BPS. Currently, I’m working on a project that involves an HTML button/JavaScript triggering a file download at the end: JAVASCRIPT: // Save the PDF and offer it for download const pollerPdfBytes = await pollerPdf.save(); const blob = new Blob([pollerPdfBytes], { type: 'application/pdf' }); const url = URL.createObjectURL(blob); const link = document.createE (...)
ORIGINAL SUBJECT WAS: Assistance Needed – Retrieve "Content as Base64" for All PDF-Attachments of an Instance Dear All, I am currently looking for a way to extract the "Content as Base64" for all attachments associated with a specific instance. My goal is to obtain a single text line in the following format: 'Base64 PDF 1', 'Base64 PDF 2', 'Base64 PDF 3'. -> The easiest way would be to use built-in tools, but unfortunately, that doesn’t work (CONTENT AS BASE64[GET ATTACHMENTS]) After (...)
As the title states, there are some autocomplete fields(with values in them that cannot be found) i have that prevent me from moving to the next step(in one case i would maybe like to "cancel" the subworkflow/return with negative). I tried to deactivate the form field validation on the paths, however the error still occurs.
Good day webcon community, As the title states, i ask myself if javascript is faster than using formrules. As example i had a formrule what would get the sum of a number column in an item list and compare it to another field. It took sometime for the formrule to procress this, while my javascript that i wrote in a html element did it much faster. I wonder now if i should reimplement certain functions with javascript instead of using formrules to shorten the page loading time. So can someo (...)
Hi i have a task to extract formfields from all the applications that has like this makred. Can anybody help? would be much appreciated
Hey everyone, I have the following challenge. I'm storing travel expenses in an item list. The expenses could be in various currencies. I'd like to get the exchange rate automatically for each row (because the exchange rate might be different for different dates and currencies). The API GET call is: https://kurs.resenje.org/api/v1/currencies/<CODE>/rates/<YEAR>-<MONTH>-<DAY> I have <CODE> in DET_Att6 and the <DATE> in DET_Att3. The response is a JSON: { "code": "USD", (...)
[Webcon 2024.1.1.130] (i thin it was working in 2022.1.4.404 - but I need double check] I have action to update item list where source is Parent Item list. The sql query is working but filters .. works if there is no polish letters :| so: [code='SQL'] SELECT d.DET_WFDID AS 'ID elementu', d.{DCNCOL:1135} AS 'Sygnatura Audytu', d.{DCNCOL:1132} AS 'Tytuł raportu 8D', d.{DCNCOL:1131} AS 'Norma', d.{DCNCOL:1128} AS 'Punkt normy', d.{DCNCOL:1126} AS 'Opis', (...)
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? Thank you in advance! Wishing you all a great weekend, Bjoern
Hi, I have a problem with 2024.1.1.114 and SDK execution. I created an SDK to connect to the SAP and download data from the chosen contractor. The SDK was working from version 2022 to 2023 with some updates to c# code - after updating Webcon and SDK to 2024 i received the error: ERROR -> Plugin changed transaction nesting count. Please contact administrator. Interestingly, when I connect the VS debugger to the portal, the error does not occur and the SDK downloads data to the form. (...)
What is the possible and if, the most efficient way of getting data from a dictionary into a js file that is supposed to read all the items from said report ? SQL(business rule, then convey it to the js file as an argument) or we can natively do it in js ?
Is there a way to change the style of a choice field when it couldnt find a mach?
Hi there, Is it possible to use one datatable to show different tables from a sql server? Right its possible to filter the sql results based on a value in a certain column. I also want to make it possible to show the content of a different table, however account to the infobox to the right side of the textbox where i write the sql statment, its not possible. So i was wondering if there is an alternative. It would be a grueling task to create a datatable for every table on the server(there are m (...)
Dear WEBCON Team, is there an option to only SHOW or HIDE the cell of the current row (in the specified column)? With the Form rule in the Screenshot the whole column is affected. Same for the Mark Required / Mark Not Required Rule. Thank you & Best Regards, Lena Schmidbauer
Hello, I have create a form rule JS that would color the cell in an itemList. But when i move between tab panels, JS is not working anymore. On page loading/Refresh, it is fine. Do you have any tips? Thank you. let itemList = #{BRP:151}#; setTimeout(() => { var itemListElement = document.getElementById(itemList.fld + "_" + itemList.id); if (itemListElement) { const provenientaElement = itemListElement.querySelector('th[data-key="#{SFLD:512}#_#{DCN:512}#"]'); if (pro (...)
Hello, I'm trying to create a more complex delete of line function. To explain this briefly, I have a list, where I can't use the normal delete button. So instead, I'm adding one using a dataRow form field, where I call the JS function like this: deteteFunction(list ordinal number); In this list there is a column called IsOld, and it's values can be OLD or NEW. * If the line I want to delete has the value NEW in the IsOld column, then I want to just simply delete that line using the ba (...)
Hello :) I have a process where I generate an XML file. I would now like to extract this XML file in another process with a sustainable solution. My XML file contains multiple fields as well as lists. What would be the easiest way to achieve this using WEBCON? I was thinking of writing the content of my XML file into a technical multiline text field via SQL and then extracting it with the "Change Values" action. The lists would be handled with the "Update Item List" action. Is this possible? T (...)