Groovy 43 – Calling a SOAP WS that needs header authentication from groovy
Lets say we need to call directly from groovy a SOAP WS that requires authentication details to be sent in the Header.For this example lets take a ICS WS, as…
Lets say we need to call directly from groovy a SOAP WS that requires authentication details to be sent in the Header.For this example lets take a ICS WS, as…
To extract the information from a Date-Time we can use Calendar class in combination with the built in time methods.Lets say we have a custom field of type date-time called…
- Create a text field, I will call mine Revision_c , on Opportunity Revenue Object.While creating this field add as default fixed value : Update 0Now create a trigger on Opportunity Revenue of the…
Create a copy button for account object that will also copy the address, the resources from team and the contacts. Create a Custom text field on Account object -…
Function Name : addHoursReturns: StringParameters: hoursArray - Listdef hours = hours = hoursArray def min_sum = 0 def h = 0 for(int i = 0 ; i <hours.size(); i++) { def…
I have created a custom object called Campaign_c and then created a M:M relationship with Contact object. The intersection object I called it CampIntCont ObjectA is the Source Object: Campaign ObjectB is the Intersection Object : CampIntCont ObjectC is the…
1 - Avoid using Webservices inside Sales Cloud in your groovy.Try to always find a way to use only groovy and avoid as much a possible usage of Webservices.Pure groovy…
How to use REST API in groovy.pdf
From Wiky:A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward as forward, such as madam or racecar. Sentence-length palindromes may be written when allowances are made for adjustments to capital…
For example we have the following array: int myArray = ; Now the algorithm to extract the smallest integer from this array is called Comparison sort Algorithm Wiky:A comparison sort is a type of sorting algorithm that only reads the list…