0

Good afternoon team,

Quick Question when i am on SF1 and on the campaign a record i have I have a hyperlink called "View All Campaign Members". When i click on this link it opens up a new page ( i see this is expect behaviour per the details below, but i am wondering is it possible to open this report in sf1 ?

Behavior Display in new window Type : Detail Page Content Source :Link URL

0

There isn't a way to modify the behavior of those Detail Page links other than what you can see in the selections when defining the options you provided.

You could create a Visualforce or Lightning Component action instead that does the navigation call and include it in the Action Bar for Salesforce1 to make sure it does not open in a new window.

For example using Visualforce, make a page and assign it to an action that simply does:

<script>sforce.one.navigateToSObject('recordId');</script>

When a user launches the action it will flash the Visualforce page briefly as an action modal but then direct the user to the report and stay in the same window. It is always best to use the navigation events designed for Salesforce1 specifically:

https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/salesforce1_dev_jsapi_sforce_one.htm

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.