{"batchcomplete":"","continue":{"lecontinue":"20250117103117|269","continue":"-||"},"query":{"logevents":[{"logid":279,"ns":0,"title":"Count number of selected items in a selection field","pageid":235,"logpage":235,"revid":1123,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2026-06-11T13:35:54Z","comment":"Created page with \"If you have a multi-selection field, and you want the know how many entries were chosen, you can use this :  Iif ('#REPLACE-FORMFIELD-testCount||AllEmailAddresses||#' = '', 0, ForEachString('#REPLACE-FORMFIELD-testCount||AllEmailAddresses||#', '||' , '1','+', 1))   Explanation:  - The user selects x email addresses in the field 'AllEmailAddresses' - paste the code above in a secondary field, enable calculations, and it will show you the number of selected entries.   samp...\""},{"logid":278,"ns":0,"title":"Webservice database","pageid":234,"logpage":234,"revid":1121,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2026-06-04T07:53:25Z","comment":"Created page with \"Convert to hyperlink:   function transformLinks(text) {    // 1. Zoek naar [Tekst](URL) en vervang door <a href=\"URL\">Tekst</a>    // De regex zoekt naar: [ alles behalve ] ] ( alles behalve ) )    const markdownRegex = /\\[([^\\]]+)\\]\\((https?:\\/\\/[^\\s)]+)\\)/g;    let html = text.replace(markdownRegex, '<a href=\"$2\" target=\"_blank\">$1</a>');      // 2. Zoek naar resterende URL's die NIET al in een href-attribuut zitten    // Deze regex pakt losse http/https links die voor...\""},{"logid":277,"ns":0,"title":"Check if a user has a certain Role","pageid":233,"logpage":233,"revid":1089,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-11-12T14:21:08Z","comment":"Created page with \"Via a webservice, you can check if the logged in user has a certain role. You need the webservice called 'Logged in person has role' (DEV: https://dev.ssp7.smt-x.com/Common/Admin/WsCallAddEdit.aspx?genericid=495)  var rolename = g_fieldvalues.filter(function (fld) { return fld.name === \"RoleName\"; }).map(function (fld) { return fld.value; }).join(\"\"); return StudioInterface.loggedInPersonHasRole(rolename);   You can then use this Webservice in a form, with a hidden field...\""},{"logid":276,"ns":0,"title":"Steps to remove forms and processes","pageid":232,"logpage":232,"revid":1086,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-11-10T13:17:52Z","comment":"Created page with \"== How to Delete a Form and Its Related Data ==  To delete a form and its associated data, follow these steps:  # Go to the '''Release Manager''' and find your form. # Click the '''Add Relations''' button. # You will now see all linked processes and parameters. # Go to the same '''Add Relations''' button under '''Processes''' and click it again. # You now have an overview of all related components.  For each process: # Check whether any '''email templates''' are in use....\""},{"logid":275,"ns":0,"title":"Cleaning","pageid":231,"logpage":231,"revid":1084,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-11-10T13:14:21Z","comment":"Created page with \"Cleaning of platform  --Steps to remove forms and processes\""},{"logid":274,"ns":0,"title":"SMTX DisplayViewModule","pageid":230,"logpage":230,"revid":1033,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-07-29T14:06:35Z","comment":"Created page with \"Include this in your HTML code:   <smtx-displayview getdatalocation=\"api/getmyticketsopendata\" tableextraclass=\"myticketsopen\" translation_norecords=\"No Open Tickets\" initialsortfieldname=\"Id\" initialsortfielddirection=\"Desc\" id=\"myticketsopen\" itemsperpage=\"15\"><i class=\"fas fa-spinner fa-spin\"></i></smtx-displayview>  Use the following options to configure the view  id:string;  data:string;  getdatalocation:string;  postbody:string;  tableextraclass:string;  itemsperpa...\""},{"logid":273,"ns":0,"title":"ReactComponents","pageid":229,"logpage":229,"revid":1030,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-07-29T14:02:57Z","comment":"Created page with \"-React Components  These components can be used to quickly add views or workflow actions into your studio application  [[SMTX DisplayViewModule||React Display view module]]\""},{"logid":272,"ns":0,"title":"Redirect always to Service Catalogue","pageid":228,"logpage":228,"revid":1014,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-05-07T06:53:44Z","comment":"Created page with \"You need to set 2 settings:  1. Settings > Login : After login redirect to: /ServiceCatalog/Admin/  2. Settings > Dashboard Always redirect dashboard to: /ServiceCatalog/Admin/\""},{"logid":271,"ns":0,"title":"Get delegates for actor","pageid":227,"logpage":227,"revid":1009,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-05-02T12:01:08Z","comment":"Created page with \"In case you need to get the delegates of an actor, you can make use of an additional parameter   return WorkflowInterface.getSteps(ticketId, { includeactordelegates : true })  With this extra parameter, you will receive the delegates of each actor in a workflow\""},{"logid":270,"ns":0,"title":"Calculate the birthdate of a 18 year old person","pageid":226,"logpage":226,"revid":996,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-04-02T09:52:57Z","comment":"Created page with \"Below is an example code to calculate the birthdate of a person that turns 18 today   format('{0:yyyyMMdd}', DateAdd(ToDate('#REPLACE-FORMFIELD-FormName||TodayDateField||#'), -18, 'Y'))\""}]}}