Enry
  • Member for 8 years, 7 months
  • Last seen this week
1 answers
0 votes
3k views
LWC Navigate to a Record’s Create Page Override Action on Save
0 votes

This is a partial solution, i tried to set default field values with a workaround in the onload method but i get error [Cannot assign to read only property 'value' of object '#'] Please note this is ...

View answer
2 answers
1 votes
824 views
How to set the concurrencyMode using the new Bulk API 2.0
0 votes

Just found the idea "Bulk API v2 support for Serial ConcurrencyMode" https://success.salesforce.com/ideaView?id=0873A000000cRQWQA2

View answer
1 answers
4 votes
152 views
How Composite subrequests count toward ConnectAPI limits
1 votes

I found a solution running the experiment @copredy suggested with a comment: "submitting 80 batchRequests, each of size 25 subrequests = 2000 subrequests and then submit one more batchRequest (all in ...

View answer
1 answers
2 votes
445 views
How can I open Field Service Lightning from my own app?
0 votes

Salesforce released Deep Linking Schema for the Field Service Lightning Mobile App in summer'19 release https://developer.salesforce.com/docs/atlas.en-us.220.0.field_service_dev.meta/field_service_dev/...

View answer
4 answers
12 votes
20k views
Check if a record is in approval process
2 votes

This is my working solution: private Id SYS_ADMIN_PROFILE_ID; public ctrl() { List<user> lstUsers = [select ProfileId from User where Profile.Name = 'System Administrator' limit ...

View answer
2 answers
0 votes
2k views
Character Count in Apex Code
0 votes

I m not aware of packages to do that. Some input to start from scratch: You can query "Apex Class" object. http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_apexclass.htm ...

View answer
1 answers
3 votes
1k views
Task related List Visual Force
2 votes

I have found the problem: on the profile system permission there wasn´t the permission "edit task".

View answer
3 answers
3 votes
7k views
UML Class Diagram Force.com Project
1 votes

Apex is Java like. A good option is: Found an Open Source Free tool to convert Java code to UML. : ESS Model here is the link http://essmodel.sourceforge.net/index.html Copied the .class files from /...

View answer
3 answers
6 votes
11k views
Action support Rerender not working
Accepted answer
0 votes

This is the solution I used: re-render the entire pageBlock ("pb") instead of trying to re-render just the one inputField. <apex:pageBlock title="Lead Edit" id="pb" mode="edit"> <apex:...

View answer
2 answers
1 votes
198 views
Error deleting a solution attached to a case
Accepted answer
0 votes

The case layout is overridden with a Visualforce page. In my VF page i´m just using the tag apex:detail to render the case page. The Case solution related list behaviour is controlled by Salesforce....

View answer
2 answers
3 votes
3k views
Record chatter post with link
3 votes

With the help of Mohith i got the solution: Usign ConnectApi.LinkSegmentinput isn´t giving the desired solution: Code(working with test account hardcoded): ConnectApi.MessageBodyInput ...

View answer
1 answers
2 votes
293 views
qtip content filtered with a condition
0 votes

I got it: eventRender: function(event, element, view){ console.log(event.typ); if (event.typ=="campaign"){ var table = $('<div><b>Start ...

View answer
3 answers
4 votes
3k views
Recursive trigger
Accepted answer
0 votes

Solution: Use a static variable in an Apex class (you mustn't set the static variable in the trigger, create a class) to avoid an infinite loop. http://www.salesforce.com/docs/developer/cookbook/...

View answer
2 answers
0 votes
355 views
Export report with just one currency
0 votes

Add converted Fields to the report, they are available for all currency fields (because multicurrency is enable). After click Customize---Show-Currency Using---Select the currency. This currency ...

View answer
2 answers
3 votes
12k views
TestMethod do not support Web service callouts, test skipped
Accepted answer
3 votes

My solution: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_http_testing_httpcalloutmock.htm Note: callout mock type depends by the type of web service ...

View answer