{"batchcomplete":"","continue":{"lecontinue":"20240917064705|267","continue":"-||"},"query":{"logevents":[{"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'))\""},{"logid":269,"ns":0,"title":"Transpose datastore columns into rows with linebreaks","pageid":225,"logpage":225,"revid":985,"params":{},"type":"create","action":"create","user":"Smtxwiki","timestamp":"2025-01-17T10:31:17Z","comment":"Created page with \"In case you have a multi select form field and you want to show the selected values in a readonly display field and you want to combine multiple columns of the datastore behind the multi-select field, you should use the Transpose function. For example: you have a list with persons and want to show from the selected person their email address and organisation:    TRANSPOSE('||', ' - ', '<br />', '#REPLACE-FORMFIELD-FormName||PersonList||EmailAddress#', '#REPLACE-FORMFIELD...\""},{"logid":268,"ns":0,"title":"Transpose","pageid":224,"logpage":126,"revid":982,"params":{"target_ns":0,"target_title":"Transpose in database queries"},"type":"move","action":"move","user":"Smtxwiki","timestamp":"2025-01-17T10:24:12Z","comment":""}]}}