First of all open your isv.config file ( found at <installation path\_Resources\isv.config e.g. C:\Program Files\Microsoft CRM\CRMWeb\_Resources”
Here we are adding buttons in the form toolbar for opportunity, inside the isv.config file (Plzz take it’s backup)
Add the following
<Entity name=”opportunity”>
<ToolBar ValidForCreate=”0″ ValidForUpdate=”1″>
<Button Title=”MyBtn1″ Icon=”/_imgs/ico_18_debug.gif”
Url=”http://default.aspx” PassParams=”1″ WinParams=”” WinMode=”0″ AvailableOffline=”false” />
<Button Title=”my button” ToolTip=”Advanced Mail Merge” Icon=”url” Client=”Web, Outlook”
JavaScript=
“var n=crmForm.all.name.DataValue;
var objectID=crmForm.ObjectId;
window.open(‘http://Default.aspx?name=’+n+’&oId=’+objectID)”
/>
</ToolBar>
</Entity>
In the above code we have created two button.
First button makes use of URL and passParam attribute.
When we set passParam as 1 then objectid( id of the record), object name and object type code are passed to url specified as query string.
The thing here is that in our custom web page we can only get the id and the type of entity.
What if we want values of other form fields.
Well in this case we can make use of JavaScript attribute.This attribute will override the Url attribute if in case both of them are defined.In the above code we are attaching the name value of opportunity in the query string.
One more thing to get the current record’s primary key i.e. say opportunity id for opportunity we’ll use crmForm.ObjectId
We can even user window.opener object in javascript of our isv custom page.
Chk this
https://nishantrana.wordpress.com/2007/10/13/refresh-crm-form-from-third-party-applications/
Bye
Hi Nishant,
i like to let u know about nice CRM i have visited while i was surfing on net.Its CRM and lead management software http://www.leadorganizer.net/
So nice application they have developed for lead management and CRM. I like you to visit the above site and particularly this page
http://www.leadorganizer.net/producttour.htm
Here they have short listed all key features of their CRM Software.
LikeLike
Great example except for 1 thing – I can’t get 4.0 to accept the & in the parm builder section of the code. I get an error saying it expects a ;
HELP!
LikeLike
Hi Rich,
Use & instead of the character & in your query string.
eg: http://testsite/SamplePage.aspx?oTypeName=account&oId='+crmForm.ObjectId
LikeLike
Few parameters for window.open
window.open(‘http://server:5555/IC.aspx?oId=’+crmForm.ObjectId ,”,’width=447,height=160,toolbar=0,resizable=1’);
LikeLike
If this really is the case you can contact their insurance company
and discuss the precise terms from the policy.
The popular NCIS spin-off television series returns in NCIS:
Los Angeles: The Complete Fourth Season. It’s crucial that
when somebody realized the requirement to deliver his car, they must start gaining car shipping quotes
as soon as he is able to.
LikeLike
Hello! I’ve bbeen reading your wweb site for a while now and finally got the bravery to go ahead and give you a shout out from
Houston Texas! Just wanted to mention keep up the fantastic
work!
LikeLike