-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
3Questions
-
0Replies
Including recaptcha its not working
I am trying to include recaptcha with my web-to-lead form, and writing form code in the script, so cant include the <script src="https://www.google.com/recaptcha/api.js">
</script>
inside the main script. I tried many ways but couldn't make it work,
can Someone please tell me a way to work around that will be a great help
-
- Ashish Pathania
- December 19, 2019
- Like
- 0
- Continue reading or reply
MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): User, original object: Account: []
The actual code is running,
But while writting the unit testing it is giving the above error,
The code does a part where it updates the contact and user details of the user. This user which is being updated is not the logged in one.
Please guide.
But while writting the unit testing it is giving the above error,
The code does a part where it updates the contact and user details of the user. This user which is being updated is not the logged in one.
Please guide.
-
- Ashish Pathania
- November 27, 2019
- Like
- 0
- Continue reading or reply
getting INACTIVE_OWNER_OR_USER while unit testing for deactivating user.
writing the unit test for deactivate user method,in the code after giving the run.As for the current user, i gave it for the user I am deleting. So it is giving the error of INACTIVE_OWNER_OR_USER, pls guide
-
- Ashish Pathania
- November 26, 2019
- Like
- 0
- Continue reading or reply