It’s a new year. I haven’t been bloging for some time. There are some things that I want to publish here, but couldn’t do it as there was not much time for me. Hoping to publish more information regarding CRM 3.0 and CRM 4.0 in the future.
Hope that this New Year brings happiness and joy to all of you out there.
This blog describes mostly about the work (CRM 365, CRM 2016, CRM 2015, CRM2011, CRM 4.0, CRM 3.0, C#,Javascript and SQL Server) i do.
Wednesday, February 6, 2008
Monday, November 19, 2007
Retreiving Link Entitiy attributes from CRM 3.0
We have 2 methods to retreive information from CRM.
- Using Fetch Statements
- Using QueryExpressions
although we can use to join entities in queryexpression we cannot use it to retreive link entity attributes. we need to use Fetch statements to do this task.
Also if we are trying to retreive more then one link entities attributes from a fetch statement we need to use alias, else the fecth statements will not be executed properly. below you can find an example.
Monday, September 24, 2007
Hiding links from the left pane of an entity
When we log in to CRM what we see is the application navigation area. This can be modified using site map xml file. but the tricky thing is when it comes to entity navigation pane we cannot use the site map. we have to use the ISV.Config file or use javascripts at the from onload event.
For a project that we are currently doing we have used javascripts to hide the unwanted links when the entity form is loading. The thing is the links are getting hidden after the form is getting loaded, hence the user is able to see some of the items when the form is loading. But as people say something is better then nothing. this was a blessing in disguise to us.
Please keep in mind you need to get the id's of the the links that you need to hide after they gets rendered to the page. you can open up a new form with this facility by clicking ctrl+N button and a new page will be opened of the form with the view source functionality.
i was abled to find this solution from microsoft.crm developer community. i cant remember the link. but would like to say "thanks guys for publishing the solution".
you can use the following javascript to hide the unwanted links.
var LeftBar = new Array() ;
LeftBar [0] = "navHistory";
LeftBar [1] = "navContacts";
LeftBar [2] = "navMoreAddresses";
for (i=0;i
{
try
{
document.getElementById(myLeftBar[i]).style.display='none';
}
catch(err)
{}
}
For a project that we are currently doing we have used javascripts to hide the unwanted links when the entity form is loading. The thing is the links are getting hidden after the form is getting loaded, hence the user is able to see some of the items when the form is loading. But as people say something is better then nothing. this was a blessing in disguise to us.
Please keep in mind you need to get the id's of the the links that you need to hide after they gets rendered to the page. you can open up a new form with this facility by clicking ctrl+N button and a new page will be opened of the form with the view source functionality.
i was abled to find this solution from microsoft.crm developer community. i cant remember the link. but would like to say "thanks guys for publishing the solution".
you can use the following javascript to hide the unwanted links.
var LeftBar = new Array() ;
LeftBar [0] = "navHistory";
LeftBar [1] = "navContacts";
LeftBar [2] = "navMoreAddresses";
for (i=0;i
{
try
{
document.getElementById(myLeftBar[i]).style.display='none';
}
catch(err)
{}
}
Hiding of Owner field froma crm form
We needed to hide the ownerid from a crm form. we tried using crmForm.all.ownerid.style.display ="none";
This was partially working as the fields look up button was hidden, but didn't hide the entire field.
Then we used
crmForm.all.ownerid_d.style.display ="none"; and it worked.
Also when tried to hide a tab we had to wait till it gets rendered and then take the id of the tab.
This was partially working as the fields look up button was hidden, but didn't hide the entire field.
Then we used
crmForm.all.ownerid_d.style.display ="none"; and it worked.
Also when tried to hide a tab we had to wait till it gets rendered and then take the id of the tab.
Tuesday, September 18, 2007
Quick Create form for custom entites
Recently in one of our projects we needed to the new button(so that user can create records from the look up easily) in the look up for a custom entity. This is not supported in CRM 3.0 for custom entites.
So i had to find another way to do this. I did what we do best for solutions in the net. Lucky for me i found a method in stunnware. although it's not what we wanted exactly i think we could live with that for now.
You can also find this article here.
http://www.stunnware.com/crm2/topic.aspx?id=js10
Thanks a lot Michael Höhne. You saved my day..
So i had to find another way to do this. I did what we do best for solutions in the net. Lucky for me i found a method in stunnware. although it's not what we wanted exactly i think we could live with that for now.
You can also find this article here.
http://www.stunnware.com/crm2/topic.aspx?id=js10
Thanks a lot Michael Höhne. You saved my day..
Wednesday, September 5, 2007
New CRM Virtual Machine
I recieved the downloaded version of the new CRM virtual machine from UK mother company yesturday. Since it was aroound 2.2 GB it was hard for us to download it. Hence i got a copy from the UK.
There are so many new things that are attached with the new virtul server.
Can't wait to go through it.
There are so many new things that are attached with the new virtul server.
Can't wait to go through it.
Customizing CRM Session
Today our company did a Microsoft Dynamics CRM 3.0 presentation to the sri lankan dotnet community. The presentation was conducted by myself and one of my collegues (and a team leader of our company) Lolitha.
We explained a bit about what is CRM, why use CRM and the benefites of using Microsoft CRM. then we moved on to customization of CRM. we did a basic intro and did some demo session regarding entity, form and view customizations.
Hope the presenation was good and the audience were able to understand what we spoke about.
Cheers to us.
We explained a bit about what is CRM, why use CRM and the benefites of using Microsoft CRM. then we moved on to customization of CRM. we did a basic intro and did some demo session regarding entity, form and view customizations.
Hope the presenation was good and the audience were able to understand what we spoke about.
Cheers to us.
Subscribe to:
Posts (Atom)
Retrieving Calendar of a Bookable Resource in Dynamics
There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...
-
When you create a new security role from scratch and then assign only that role to a system user and when you log to the CRM site you might ...
-
There is a bit of change in CRM 2011 than CRM 4. The code is below. Microsoft.Xrm.Sdk. EntityReference Moniker1 = new Microsoft.Xrm.S...
-
When you try to import a solution you might be seeing an error like this. we came across such an issue after installing roll up 1 to one of...