You need to sign in to do that
Don't have an account?
Felix Jong Seok Chae
create a link to a given case record in apex trigger
I have a pointer to a case record and I can retrieve any field of that case.
I would like to create a url link of this record in the custom text-typed field of an another record so that
in the salesforce I can simply click the single button (case number for example) in that custom field,
and I will be directed to that case record.
Thanks.
I would like to create a url link of this record in the custom text-typed field of an another record so that
in the salesforce I can simply click the single button (case number for example) in that custom field,
and I will be directed to that case record.
Thanks.
<pre>
otherRecord.Link_to_Case__c = '/' + theCase.Id;
</pre>
HYPERLINK( "/" & Case_Id__c, Case_Number__c, "_self" )
if I make type of the target field to URL, can I generate links to more than one case?
Also, is the following an complete command? otherRecord.custom_field = HYPERLINK("/"&ID, "_self")
2nd line: Unrecognized symbol '"', which is not a valid Apex identifier.
3rd line: unexpected syntax: 'mismatched input ',' expecting SEMICOLON'
last line: unexpected syntax: 'mismatched input ')' expecting SEMICOLON'
I might not understand your question, but you can't create a single URL that links to more than one thing.
I meant is it possible to have multiple links (one link for one record) in the custom url field?