I have a Detail Page Button on the Opportunity object that opens a url for conga composer. this is the button's code:
https://composer.congamerge.com
?sessionId={!API.Session_ID}
&serverUrl={!API.Partner_Server_URL_290}
&Id={!Opportunity.Id}
&Culture=he-IL
&ReportId=00O80000003XawR
On classic Salesforce this button opens a new window with conga and all is well. When I move my UI to lightning experience, this button does not work - I get this error:
Invalid session or the session has expired. (Lock IPs may be enabled.)
I have searched for this error message and came to a few web pages (Conga web site, Salesforce) that explain to do :
- Ensure "Lock sessions to the IP address from which they originated" is NOT enabled
- Ensure the user running the solution has "API Enabled" on their Profile
- Ensure you have not reached your maximum API request limit
- Check to see if your Salesforce server is down
Now all of these settings are ok in my user and profile and org, also - in classic it works perfect.
I have also checked the URL that is generated from the button - it is the same from classic and LEX UI:
https://composer.congamerge.com/composer8/index.html?
sessionId=mysamesessionid&
serverUrl=https%3A%2F%2Fna28.salesforce.com%2Fservices%2FSoap%2Fu%2F29.0%2F&
Id=0061A0000139JpE&
Culture=he-IL&
ReportId=00O80000003XawR
Why doesn't the conga button work from LEX?