• Beth Alaniz
  • -2 Points
  • Member since 2020

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 2

We created a Visualforce page we need to open in Salesforce1 from the Field Service Lightning mobile app using an app extension. We also need to pass a URL parameter to this Visualforce page.

We are logged in both FSL app and Salesforce1 app with a partner community user through the partner community connection.
We tried with the following app extension first:
The GetLocation is the Visualforce tab linked to the Visualforce page we need to open.

It opened the Salesforce1 app but showed an error message: Insufficient Priviliges: You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.

We resolved this by changing the app extension to (FieldService is the community API name):
However, we noticed that the Id parameter is not passed to the Visualforce page.

Anyways, if we are logged in Salesforce1 with a standard Salesforce user and we need the first app extension, the parameter is passed succesffully:

The question is: What is the proper way to pass the parameter to Salesforce1 if we are logged in through the community connection?



Challenge Not yet complete... here's what's wrong: 
An Opportunity with the Stage 'Negotiation/Review' and the Amount greater than $100,000 was not successfully submitted for approval upon creation.

I have the above error while check challenge the 5th stage of process automation specialist.

Thanks in advance.

Best Regards