The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

0

You can check the Object names . If it's a custom one and it has relation with that given object then the API name must contain __r. From this, you can easily find out which one is a standard one and which one is custom.


2

You are on the right way, you just need to move variables related to the record outside the quotes. IF( CONTAINS( $Profile.Name, "System Administrator" ), HYPERLINK( "https://testrackspace.service-now.com/rack_sp?id=sc_cat_item&sys_id=4bb14bc2c84f4e0087fd91e81c4cff48&sysparm_salesrep=" + Federation_ID__c + "&...


1

You are getting this error because, the app you are using have no permission for Case Transfer and the logic which you are trying to implement have case transfer mechanism. This problem can be overcome by proving Case Transfer permission. Profile->App Permissions ->Transfer Case


5

You can use all zeroes (e.g. keyPrefix + '0'.repeat(12)). It will never match an existing or future ID. Depending on your use case, you can also generally just use '0'.repeat(15), which is what Salesforce uses internally to represent a null ID. Obviously, the 0-key-prefix pattern doesn't match a specific sObject, but might be valid for some use cases. Note ...


0

You've not provided the full context of what you're doing, but my best "educated guess" is you need to provide more context for the delete operation. You're probably attempting to delete the actual product instead of the product from an order or opportunity line item. Your query in your @AuraEnabled method also needs to have that context as well so it knows ...


0

Check the field API name on the object to make sure you have it correct. {!User.Id} will give the Id of the current running user, which might be why your name is showing.


Top 50 recent answers are included