I am having requirement to show up only the respective record data from the grid in the Site. I have used a!urlForSite(sitePage: givensiteofMyapp) to navigate to the site but to retrieve the exact record from the grid how I need to fetch those details. Kindly provide any suggestion
Discussion posts and replies are publicly visible
Hello ashwinir5622
ashwinir5622 said: a!urlForSite(sitePage: givensiteofMyapp)
You need to use urlForRecord() and map the recordType and recordId and update the URL from tempo/records/item with your site address site-name/page/home/record/
Hi Konduru Chaitanya ,
Thanks for the Reply.
urlForRecord() navigating to the Records in the Tempo but my requirement is to navigate to the site from their I need to retrieve the exact record data from the list of data in the read only grid
You will have to replace the url parts with your site info as I have mentioned above in my reply above.
substitute( urlForRecord( recordType:yourRecordTye, recordIds:yourIdentifiers ), "Tempo-URL"(current URL that you see when you click on urlForRecord), "SiteUrl"(Which you see when you open any summary) )
This is showing me the summary of the particular record Data. But I want to display the record data from the list of grid on click of the url
You want to display a record grid when clicked on the email link?
yeah
You can simply embed the site page URL in the email if its just the grid that you want to display.