Hello everyone,
I'm using crt.OpenLookupPageRequest
to open a lookup page in my Creatio application. However, the records in the list appear as hyperlinks, and I would like to display them as plain text instead.
Here is my current code:
request.$context.executeRequest({ type: "crt.OpenLookupPageRequest", $context: request.$context, entitySchemaName: "BnzConversationScript", caption: rls.BnzSelectConversationScript, filtersConfig: { filterAttributes: [ { name: 'ConversationScriptsFilter', loadOnChange: false } ], attributesConfig: { ConversationScriptsFilter: { value: filterConfig } } }, features: { select: { multiple: false, selectAll: false, resultType: 'lookupValues' }, create: { enabled: false } }, afterClosed: async function(selectedItem) { scope.getFinalDataForConversationScript(request, recordId, response.GetConversationScriptsListResult, selectedItem?.value); } });
Does anyone know how to disable hyperlinks for the records in this lookup page? Any help or guidance would be greatly appreciated!
Thanks in advance!
Like
I solved the issue in a trivial way – record links are not created when using a database table view. So, I simply created a view based on the table and used it as the source.
Oleksandr Tyra,
It would be great to find out how to remove the links. I wish the lookup dialog didn't have links by default, it's far too confusing for users - they think they need to click the link to select the record, but that just navigates them away from the dialog and to the record. There's no reason why links should be in that dialog since it's purpose is to select a record.