Forum Discussion

Re: Is there any manual to create Approval/Reject buttons?

Annie,

I made a typo in the Java Script.   I did not use the full name of the variable.

// Java Script  Executable and UI
"<a href=\"javascript:" & "$.get('" & $URLAPIAdd  & "', function(){" & "location.reload();" & "});" & "void(0);\">"&$ApproveIMG&"</a>"

This design makes it possible for you to change the function of the button based on conditions of the Opportunity.  You might define another piece of logic that only lets you set the status to Quoting because the current status is Sales.   Then you build a Case Statement that will make the button do different things.


------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------

1 Reply

  • Annie_ChunjiCui's avatar
    Annie_ChunjiCui
    Qrew Trainee
    Thank you Don for your thorough explanation!
    I definitely take some time to play around with your formula. 

    For your regular webinar and Empower 2020 in San Diego, I really hope that i can attend. 
    But for now is a bit difficult for me to stay up the night to attend the webinar or fly to US.. 

    Does your company have any plan to open classes/seminars in Asia? Like Singapore? haha 



    ------------------------------
    Annie
    ------------------------------