I am currently having some trouble implementing a functionality where we need to create a form for kyc related to the account, and be able to reach it by an unique url. I've found two questions very close to what i'm looking for, but they are both very old and also without clear steps to generate the unique url, those being:
Generate Unique URL in salesforce and Visualforce page with unique URL?
These answers appears to be quite useful in terms of what to do but i still don't understand how to do it. I'm also worried that i can't directly use the id of the account in the url (safety concerns) and since those questions are old, there may be a better or new standard way to do this?
For the sake of completion, i will list clearly the steps i need to perform and where exactly my trouble is:
- When we convert a (Lead -> Contact, Opportunity, Account) a blank KYC record should be created and related to the account (done);
- A button should be available in the record page for sales people to click and trigger the action (done);
- The action should create a unique url that will open a form to update the unique kyc related to that particular account (how?);
- Trigger to happen after update of kyc record (done).
Any recommendations?