String Functions

Concatenation of two Strings:-

 

  • In any Entity of MS Dynamic CRM, Two Strings (Single line of text) can be concatenated by this library function.


     

 

  • In the Image, first two Highlighted Single line of text fields are concatenated and the resultant string will be displayed in the last highlighted Single line of text field.

Execution of Work Flow:-   

  •  Write the Source code and register the dll file using plugin registration tool.
  • Go to “Processes” Entity and create new process by clicking on NEW .

 

 

 

  • Enter Process Name, Select category as Workflow, Select Entity on which you wish to fire and Check Type as New blank Process. Click on OK. 

 

 

  •  Check “START WHEN”, this decides when your workflow should fire. 

 

 

  •  Click on Add Step, select your workflow.
  •  Add another step “UPDATE RECORD” for output to display. This displays the output when the record is updated.

 

 

 

  •  Now Click on Set Properties to set input and output properties.
  •  Activate the Process by clicking on “Activate” button.
  •  Select the required entity and fields and then click Add then OK.

 

 

 

 

 

  •  Select the field which displays output and set workflow into it by clicking on entity fields and click add and then ok.

 

 

 

 

 

  •  This completes the setting of input and output properties.

 

  •  Now go to entity forms and provide input values and click on save.

 

  •  Check into system jobs entity to know whether the workflow got succeeded or not.

 

 

 

 Replace one String with another String:

  • In any Entity of MS Dynamic CRM, the text field is replacing with new text field. It do not allow Case Sensitive.

 

 

 

 

 

Execution of Work Flow:-   

  •  Write the Source code and register the dll file using plugin registration tool.
  • Go to “Processes” Entity and create new process by clicking on NEW.
  • Enter Process Name, Select category as Workflow, Select Entity on which you wish to fire and Check Type as New blank Process. Click on OK.
  •  Check “START WHEN”, this decides when your workflow should fire.
  • Click on Add Step, select your workflow.
  •  Add another step “UPDATE RECORD” for output to display. This displays the output when the record is updated.
  •  Now Click on Set Properties to set input and output properties.
  •  Activate the Process by clicking on “Activate” button.
  • Select the required entity and fields and then click Add then OK.

 

 

 

  •  Select the field which displays output and set workflow into it by clicking on entity fields and click add and then ok.

 

 

 

 

 

 

 

 

  •  This completes the setting of input and output properties.

 

  •  Now go to entity forms and provide input values and click on save.

 

  •  Check into system jobs entity to know whether the workflow got succeeded or not.

 

 

 

Right and Left Trim of the text:

 

  • In any Entity of MS Dynamic CRM, If any String contains Space that can be removed whether it is right side of the String and left side of the String.

 

Execution of Work Flow:-   

  •  Write the Source code and register the dll file using plugin registration tool.
  • Go to “Processes” Entity and create new process by clicking on NEW.
  •  Enter Process Name, Select category as Workflow, Select Entity on which you wish to fire and Check Type as New blank Process. Click on OK.
  •  Click on Add Step, select your workflow.
  • Add another step “UPDATE RECORD” for output to display. This displays the output when the record is updated.
  •  Now Click on Set Properties to set input and output properties.
  •  Activate the Process by clicking on “Activate” button.
  • Select the required entity and fields and then click Add then OK.

 

 

 

 

 

  •   Select the field which displays output and set workflow into it by clicking on entity fields and click add and then ok.

 

 

 

 

 

  •  This completes the setting of input and output properties.

 

  •  Now go to entity forms and provide input values and click on save.
  • Check into system jobs entity to know whether the workflow got succeeded or not.

The String function solution download here:    Download

About Apps Now

Apps Now offers latest reads on Microsoft Technologies and Business Applications in an easily understandable and digestible manner for you to drive some mileage out of it. Keep following Apps Now to learn new technologies and best coding practices.

See more blogs from Apps Now

No Comments

Add a Comment

  1. (max length 2000)
  2. captcha refresh captcha
Please Wait