locked
ISV custom button help RRS feed

  • Question

  • I exported ISV.config and modified and imported it but I don't see the button on 'Contact' entity toolbar. Here is my config. Please advice.

        <Entity name="contact">
         <MenuBar />
         <!-- The Contact Tool Bar -->
         <ToolBar ValidForCreate="1" ValidForUpdate="1">
          <Button Icon="/_imgs/ico_16_4210.gif" Url="http://servername/Orgname/isv/MapCRM/CreateUserAccount.aspx">
           <Titles>
            <Title LCID="1033" Text="Create User" />
           </Titles>
           <ToolTips>
            <ToolTip LCID="1033" Text="Add a new User" />
           </ToolTips>
          </Button>
          </ToolBar>
        </Entity>
    
    Thursday, May 5, 2011 3:26 PM

Answers

  • Please go to

    Setting

    Administration

    System Setting

    Customization

    and check the second option which is custom menu and toolbars. It should have Web Application and Outlook selected. If now please add and try again.


    Regards Faisal
    • Proposed as answer by Faisal Fiaz Thursday, May 5, 2011 3:51 PM
    • Marked as answer by anate Thursday, May 5, 2011 5:29 PM
    Thursday, May 5, 2011 3:35 PM
  • Try this:-

    <Entity name="contact">
     <Grid>
      <MenuBar>
       <Buttons>
         <Button Icon="/_imgs/ico_16_4210.gif" Url="http://servername/Orgname/isv/MapCRM/CreateUserAccount.aspx">
         <Titles>
          <Title LCID="1033" Text="Create User" />
         </Titles>
         <ToolTips>
          <ToolTip LCID="1033" Text="Add a new user" />
         </ToolTips>
        </Button>
       </Buttons>
      </MenuBar>
     </Grid>
    </Entity>
    

    Regards Faisal
    • Marked as answer by anate Thursday, May 5, 2011 5:29 PM
    Thursday, May 5, 2011 3:51 PM

All replies

  • Please go to

    Setting

    Administration

    System Setting

    Customization

    and check the second option which is custom menu and toolbars. It should have Web Application and Outlook selected. If now please add and try again.


    Regards Faisal
    • Proposed as answer by Faisal Fiaz Thursday, May 5, 2011 3:51 PM
    • Marked as answer by anate Thursday, May 5, 2011 5:29 PM
    Thursday, May 5, 2011 3:35 PM
  • Thank you. It's showing the button. The button is on the 'Edit' page of the contact detail. Is there anyway I can add it to Contact list(Main page)?
    Thursday, May 5, 2011 3:45 PM
  • Try this:-

    <Entity name="contact">
     <Grid>
      <MenuBar>
       <Buttons>
         <Button Icon="/_imgs/ico_16_4210.gif" Url="http://servername/Orgname/isv/MapCRM/CreateUserAccount.aspx">
         <Titles>
          <Title LCID="1033" Text="Create User" />
         </Titles>
         <ToolTips>
          <ToolTip LCID="1033" Text="Add a new user" />
         </ToolTips>
        </Button>
       </Buttons>
      </MenuBar>
     </Grid>
    </Entity>
    

    Regards Faisal
    • Marked as answer by anate Thursday, May 5, 2011 5:29 PM
    Thursday, May 5, 2011 3:51 PM
  • I am getting invalid customization file error.
    Thursday, May 5, 2011 4:00 PM
  • Just chyanging

    <Button Icon="/_imgs/ico_16_4210.gif">

    instead of

    <Button Icon="/_imgs/ico_16_4210.gif" Url="http://servername/Orgname/isv/MapCRM/CreateUserAccount.aspx">

    Don't worry just test it.


    Regards Faisal
    Thursday, May 5, 2011 4:20 PM
  • Hi

    Please replace the button xml element from your xml above with the below

    PS: you are missing ValidForCreate="1" ValidForUpdate="1" attribute on the button element so it is not visible on the form when you applied customisation.

     

    <Button ValidForCreate="1" ValidForUpdate="1" Client="Web, Outlook" PassParams="1" WinMode="0" Icon="/_imgs/ico_16_4210.gif" Url="http://servername/Orgname/isv/MapCRM/CreateUserAccount.aspx">
           <Titles>
            <Title LCID="1033" Text="Create User" />
           </Titles>
           <ToolTips>
            <ToolTip LCID="1033" Text="Add a new User" />
           </ToolTips>
          </Button>


    Hope this helps. Amar

    CRM Forum Guidance on how to Help Us Help You


    Thursday, May 5, 2011 4:30 PM
  • Thanks for the help. But still I couldn't see the button on the main Contact list page. It did show on the detail page.
    Thursday, May 5, 2011 5:00 PM
  • Try this:-

    <Entity name="contact">
     <Grid>
     <MenuBar>
      <Buttons>
       <Button ValidForCreate="1" ValidForUpdate="1" Client="Web, Outlook" PassParams="1" WinMode="0" Icon="/_imgs/ico_16_4210.gif" Url="http://servername/Orgname/isv/MapCRM/CreateUserAccount.aspx">
       <Titles>
       <Title LCID="1033" Text="Create User" />
       </Titles>
       <ToolTips>
       <ToolTip LCID="1033" Text="Add a new user" />
       </ToolTips>
      </Button>
      </Buttons>
     </MenuBar>
     </Grid>
    </Entity>
    

    Regards Faisal
    Friday, May 6, 2011 10:04 AM