Dear all, I have a Order CDT that have as a property a list of Customers (C

Dear all,
I have a Order CDT that have as a property a list of Customers (Customers being defined also as a CDT). In the Records Tab we need to display only Order record, and inside the Record View we need to display a link, to another screen, to see a Grid View with the Customers of the Order.
The thing is that we do not want to see Customers in the Record Tab.
As implementation, I was thinking at having for the Order Record two views, one to display the lending page of the Order ( Summary) and one to display the Grid View for the Customers allocated to the Order (Customers). I defined the interface rules and I tried to use the a!recordLink for this but I receive this error: "The record view does not exist or you do not have permission to see it. (APNX-1-4205-015)"
I call the Customers View using the following code:
a!linkField(
links: a!recordLink(
label: "View Customer",
recordType: cons!ORDER...

OriginalPostID-166177

OriginalPostID-166177

  Discussion posts and replies are publicly visible

Parents
  • Writing "summary" as value for "dashboard" property works, but it leads me to the thought that is not a direct connection between the View Name defined in Record Type and the value of "dashboard" property (since the View Name is actually Summary)… is this correct?
    I tried using “_cust_rw99” but I receive: “Could Not Retrieve Record View An error was encountered while processing your request”.
    I tried using the following but the old error occurs:
    a!linkField(
    links: a!recordLink(
    label: "View Customer",
    recordType: cons!ORDER_RECORD,
    identifier: ri!ID,
    dashboard: "custrv99"
    ))          
    I noticed a gap between the link generated with summary and "custrv99":
    For the summary, the link looks like this: /suite/tempo/records/type/6kvpZw/item/isBD1ySebbWrdxIbXYHcKX8wRhVYs6n7vLsqWfSht_YaPDf8r7kWMcmZZeq/view/summary
    For the custrv99, the link looks like this: /suite/tempo/records/item/lMBD1ySebbWrdxIbXZPfb3SwjKQwaQceHWxD8CiV7D9IngUgFUfLdSrMnwsRrMA-0KsHgFJRan_cidU7E3DtMBvcxpE-oycYNwrm_8E6iFiO-Oy5A/view/custrv99
    Regarding the security...I wouldn't take into consideration this aspect since I checked "All Users - Any authenticated user can view this record type"
Reply
  • Writing "summary" as value for "dashboard" property works, but it leads me to the thought that is not a direct connection between the View Name defined in Record Type and the value of "dashboard" property (since the View Name is actually Summary)… is this correct?
    I tried using “_cust_rw99” but I receive: “Could Not Retrieve Record View An error was encountered while processing your request”.
    I tried using the following but the old error occurs:
    a!linkField(
    links: a!recordLink(
    label: "View Customer",
    recordType: cons!ORDER_RECORD,
    identifier: ri!ID,
    dashboard: "custrv99"
    ))          
    I noticed a gap between the link generated with summary and "custrv99":
    For the summary, the link looks like this: /suite/tempo/records/type/6kvpZw/item/isBD1ySebbWrdxIbXYHcKX8wRhVYs6n7vLsqWfSht_YaPDf8r7kWMcmZZeq/view/summary
    For the custrv99, the link looks like this: /suite/tempo/records/item/lMBD1ySebbWrdxIbXZPfb3SwjKQwaQceHWxD8CiV7D9IngUgFUfLdSrMnwsRrMA-0KsHgFJRan_cidU7E3DtMBvcxpE-oycYNwrm_8E6iFiO-Oy5A/view/custrv99
    Regarding the security...I wouldn't take into consideration this aspect since I checked "All Users - Any authenticated user can view this record type"
Children
No Data