Sample code for ISV.CONFIG form button to pass the object id of record.

Just thought of putting this code over here, as i need it frequently 🙂

This one is for case entity.

 

<Entity name="incident">
          <ToolBar ValidForCreate="0" ValidForUpdate="1">
            <Button Icon="/_imgs/ico/16_convert.gif" Url="http://www.google.co.in" PassParams="1" WinParams="" WinMode="0" Client="Web">
              <Titles>
                <Title LCID="1033" Text="Url Button" />
              </Titles>
            </Button>
            <Button Icon="/_imgs/ico/16_convert.gif" JavaScript="window.open(‘http://www.google.co.in?oId=’+crmForm.ObjectId ,”,”);" PassParams="1" WinParams="" WinMode="0" Client="Web">
              <Titles>
                <Title LCID="1033" Text="JavaScript Button" />
              </Titles>
            </Button>
          </ToolBar>
        </Entity>

 

Bye..


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

1 thought on “Sample code for ISV.CONFIG form button to pass the object id of record.”

  1. Hi Nishant,

    Please tell me how to change the organization in data migration manager,as data migration manager is taking contoso as a organization while uploading data and beacuse of this m not able to find get the entity in which i eant to upload data..

    When i run the migration mmanager first time,it ask to select the organization, from next time thr is no such option in DMM,
    So please tell me the solution.

    Regards
    Meghshyam

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s