You are viewing limited content. For full access, please sign in.

Question

Question

Shortening URL Links

asked on March 29, 2016

Is there a way for us to shorten URL Web Access Link in a Workflow?

 

We have a script that is running that looks like this:

 if (formtype == "Scholarship Payment")
            app.Payment_Expectations_Acknow_Link__c = "https://lf.making-waves.org/laserfiche/?db=MWFLASERFICHE#id="+GetTokenValue("Entry ID").ToString()+";view=pages";
            if (formtype == "Scholarship Opportunity")
            app.MW_Scholarship_Opportunity_Link__c = "https://lf.making-waves.org/laserfiche/?db=MWFLASERFICHE#id="+GetTokenValue("Entry ID").ToString()+";view=pages";
            if (formtype == "Recording Consent")
            app.Recording_Consent_Link__c = "https://lf.making-waves.org/laserfiche/?db=MWFLASERFICHE#id="+GetTokenValue("Entry ID").ToString()+";view=pages";
            if (formtype == "Media Participation Consent")
            app.Media_Participation_Link__c = "https://lf.making-waves.org/laserfiche/?db=MWFLASERFICHE#id="+GetTokenValue("Entry ID").ToString()+";view=pages";
            if (formtype == "Indemnification Release")
            app.Indemnification_Link__c = "https://lf.making-waves.org/laserfiche/?db=MWFLASERFICHE#id="+GetTokenValue("Entry ID").ToString()+";view=pages";
            if (formtype == "Release Student Information")
            app.Consent_to_Release_Information_Link__c = "https://lf.making-waves.org/laserfiche/?db=MWFLASERFICHE#id="+GetTokenValue("Entry ID").ToString()+";view=pages";

 

We are currently integrating it with Salesforce. What they want to happen is to somehow shorten the link when it displays in Salesforce. I was thinking of using a "href" tag but not too sure if that would even work.  Please advise.

See picture below as an example what they are requesting the link to be when in salesforce. 

 

 

 

0 0

Replies

replied on March 29, 2016

Yes, if you are generating HTML, then you can put the display text inside an anchor tag with the link as the href attribute.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.