The Article entity has been created.
Portal users are linked to their Contact.
When a portal user creates a new Article, he must manually specify the Assigned User, as this field is required.
To do this, in the "Assigned User" selection, switch from "Active" to "All" and find your Contact in the list. It is very uncomfortable.
I wanted to make an automatic selection of the Assigned User. Tried formulas like this but they don't work. Help me, please.
assignedUser = ifThen(
user.contact != null,
entity\addLinkMultipleId('assignedUser', 'user.contactId')
);
----------------------------------------------------
ifThen(
user.contact != null,
entity\addLinkMultipleId('assignedUser', 'user.contactId')
);
-----------------------------------------------------
ifThen(createdBy.isPortalUser, assignedUserId = 'user.contactId');
----------------------------------------------------------
ifThen(createdBy.isPortalUser, assignedUserId = 'contactId');
Portal users are linked to their Contact.
When a portal user creates a new Article, he must manually specify the Assigned User, as this field is required.
To do this, in the "Assigned User" selection, switch from "Active" to "All" and find your Contact in the list. It is very uncomfortable.
I wanted to make an automatic selection of the Assigned User. Tried formulas like this but they don't work. Help me, please.
assignedUser = ifThen(
user.contact != null,
entity\addLinkMultipleId('assignedUser', 'user.contactId')
);
----------------------------------------------------
ifThen(
user.contact != null,
entity\addLinkMultipleId('assignedUser', 'user.contactId')
);
-----------------------------------------------------
ifThen(createdBy.isPortalUser, assignedUserId = 'user.contactId');
----------------------------------------------------------
ifThen(createdBy.isPortalUser, assignedUserId = 'contactId');
Comment