Questions tagged [context]

The tag has no usage guidance.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
301 views

Find user agent string in lightning controller

In Visualforce controllers, we have ApexPages.currentPage().getHeaders() to get info like user-agent, etc... Is there any equivalent for Lightning controllers? I know this info can be found from $...
1
vote
0answers
117 views

Executing a block of code in apex class with context/visibility of a specific user

I need to execute a block of code in apex class with context/visibility of a specific user. This user is mentioned in a custom field of a custom object. The need is similar to System.Runas() method ...
0
votes
0answers
16 views

SFDX Scratch Org is not getting Created with IoT enabled

my project-scratch-def.json is { "orgName": "LTD", "edition": "Developer", "adminEmail":"***********@gmail.com", "hasSampleData":false, "features": ["IoT"], "settings": { "...
0
votes
2answers
29 views

How to open a particular record in salesforce from another web app

I am looking to open a particular object's record in salesforce after clicking a link in some another web app. With the link click I need to pass some set of attributes to Salesforce webservice (...
-1
votes
1answer
30 views

How can I determine the calling source of a trigger?

I have a managed package with different triggers. Is there a way to get the calling source that invoked the trigger action? For example: if other package initiated the action, get its namespace, and ...