• Create Script If Blank Then Else Default Value

    I am trying to write a script in Opportunity that says if the pers_markets field is blank then use the comp_markets, otherwise use pers_markets, but i cant seem to get it to work. What am i missing? var CompMarkets = CRM.GetContextInfo("Company","comp_markets…
  • Hide a field

    Hi all I have tried to do a statement on the Create New Lead screen which hides the person field until a company name is entered. I have added the below to the create script and the field still showed. Is there something that I am missing? Thanks…
  • CRM Create Script - change the default value based on an IF statement

    I've been scratching my head on this one for the past couple of days and wonder if anyone can help? I've seen a couple of similar queries here but when I've tried to implement the results I've not had any luck. I'm trying to set the default value of…
  • Using Values in workflow createscript

    Hi Have a searchselectadvanced field that has a createscript in the Case Details screen to prepare the SearchSQL statement to filter the allowable values. (EquipRec = Values("case_equipment"); FC = Values("case_faultcode"); SearchSQL="ProductGroupID…
  • Select List Option and Trigger Input of Value

    Hello, I am hoping to have an option in a normal select field selected and the value chained in the statement, entered directly to a integer field. I am not able to trigger the update on selection until the screen is submitted - saved and then…
  • How to hide a field on page load event and make it visible when a selected item in a dropdown is changed?

    I managed to hide a field by using hidden=true; in createScript section. The problem is, how can i make it visible again after the page load event? I am trying to make it visible in OnChangeScript section for a dropdown but setting display or visibility…
  • Update field in CreateScript

    On the field orit_quantity , I have written code in the section CreateScript, to call a web service to get the discount and the price according to the article and the quantity. Is it possible, in this section (CreateScript), update other fields, for example…
  • add button to main menu with menu

    Hi can i add button to main menu and sub button when click on it like shown in image i try to do this but System Act make it hard