locked
How to hide the status reason options on opportunity close dialog at runtime(dynamically) RRS feed

  • Question

  • I need to change the status reason available on opportunity close dialogs at run time.

    I don't want to allow the user to select all the available options in status reason.

    There are few option set values which i need to hide using microsoft supported way, before the dialog page is loaded. I want to avoid creating a new dialog page.

    Can i acheive this using javascript ?

    Thanks in Advance


    Friday, February 10, 2012 11:20 AM

Answers

  • Hello,

    I believe you would not do it in supported way without replacement of standard dialogue. So you have 2 ways:

    1. Do it unsupported meaner - open close opportunity dialogue form and add script which will remove unneeded options.

    2. Create webresource of HTML page type and replace Opportunity Close dialogue with your custom form.


    Microsoft CRM Freelancer

    My blog (english)
    Мой блог (русскоязычный)
    Follow Andriy on Twitter

    Friday, February 10, 2012 1:09 PM
    Moderator