Skip to content
Snippets Groups Projects
Commit 5e24c417 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Merge branch '#1086526_fixCustomRoleEdit' into '2021.1'

Speichern nach Bearbeiten einer CUSTOM Rolle führt zu eingefrorenem Web-Client und Berechtigungsfehler im Log

See merge request xrm/basic!1240
parents fc65226c d2ce540c
No related branches found
No related tags found
No related merge requests found
import("system.neon");
import("system.vars");
import("system.result");
result.string("CUSTOM_" + vars.get("$field.ROLENAME"));
\ No newline at end of file
var prefix = "CUSTOM_";
var uid = vars.get("$field.ROLENAME");
if (vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
uid = prefix + uid;
result.string(uid);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment