The GUID of the user is stored in the SQL CONTEXT_INFO. All you have to do is to run this piece of code:
To clear the context info simply execute
MS CRM blog for developers
The obligatory 'turn it off and back on again' moment strikes again... #sqlsatmanc pic.twitter.com/LrS5ooQIXN— Terence Burridge (@CodebunTes) July 15, 2017
I accidentally discovered the following “feature”: All LCID Titles in SubArea must have matching LCID in Group Titles.
Add a group in sitemap, like this:
<Group Id="Demo">
<Titles>
<Title LCID="1033" Title="Demo"/>
</Titles>
<SubArea Id="DemoPage" Icon="iconUrl" Url="someUrl">
<Titles>
<Title LCID="1033" Title="Demo Page"/>
<Title LCID="1060" Title="Demo Stran"/>
</Titles>
</SubArea>
</Group>
The sitemap will upload normally and pass all validation, but after switching to language 1060, the error will be shown. The cause is missing LCID 1060 in Group Titles.
The correct XML for this example is:
<Group Id="Demo">
<Titles>
<Title LCID="1033" Title="Demo"/>
<Title LCID="1060" Title="Demo"/>
</Titles>
<SubArea Id="DemoPage" Icon="iconUrl" Url="someUrl">
<Titles>
<Title LCID="1033" Title="Demo Page"/>
<Title LCID="1060" Title="Demo Stran"/>
</Titles>
</SubArea>
</Group>
I installed a fresh instance of Microsoft Dynamics CRM Data Migration Manager. Then I wanted to apply Rollup 8 to it.
Error: DMClient KB971782 is not found
Resolution: First install Rollup 7 update for DM Client (http://www.microsoft.com/downloads/details.aspx?FamilyID=A4893988-7804-4E23-AB58-740441CC696E&displaylang=en) and then you are able to install Rollup 8.
Simple task: Try to retrieve user settings of a CRM user.
Simple solution:
RetrieveUserSettingsSystemUserRequest request = new RetrieveUserSettingsSystemUserRequest();
request.EntityId = systemUserId;
request.ColumnSet = new AllColumns();
RetrieveUserSettingsSystemUserResponse response= (RetrieveUserSettingsSystemUserResponse)crmService.Execute(request);
NOT!
The specified type was not recognized: name='usersettings', namespace='http://schemas.microsoft.com/crm/2007/WebServices', at <BusinessEntity xmlns='http://schemas.microsoft.com/crm/2006/WebServices'>.
Add the following line: request.ReturnDynamicEntities = true;
On Microsoft learning page (http://www.microsoft.com/learning/en/us/certification/dynamics-crm-professional.aspx#tab2) it is said that exam 70-431 - Microsoft SQL Server 2005 – Implementation and Maintenance is elective for Microsoft Certified Business Management Solutions Professional – Applications for Microsoft Dynamics CRM 4.0 certification.
There is nothing said about SQL 2008 exams on this page.
So I sent an email to Microsoft and here is their response:
Dear Dejan,
Thank you for your email.
We are glad to inform you that the Exam 70-432: TS: Microsoft SQL Server 2008, Implementation and Maintenance can be counted as an elective for Microsoft Certified Business Management Solutions Professional – Applications for Microsoft Dynamics CRM 4.0 certification.
As that new exam has been released recently, it has not been added to the certification path yet.
Please note that the update of the Certification Tree has been planned for the end of September 2009.
Then, the exam 70-431 will be visible in the certification path for
Applications for Microsoft Dynamics CRM4.0 certification on the
Microsoft Learning website, as that certification will be uploaded to the Transcripts of all customers who have completed the certification requirements by passing exam 70-432.
We hope that provided information is of assistance.
If you have any further questions please get in touch with us and we will be happy to assist you in any way we can.
If you want to create a direct link to an out-of-a-box entity it is a very simple task: Right-click on one instance (let’s say account) and select “Copy Shortcut”.
Then just just change the GUID in the URL to open desired account. For the Account this URL looks like this: http://SERVER:PORT/OrganizationName/sfa/accts/edit.aspx?id={GUID}
All custom entities have the same URL structure: http://SERVER:PORT/OrganizationName/userdefined/edit.aspx?id={GUID}&etc=EntityTypeCode
Notice the entity type code? This code is created when creating the entity. But for some reason Entity Type Code can be (in most cases) different on every CRM instance. This means that if you are creating a plugin that needs to create a link to the entity, you will have to query metadata to get the code or enter that code in configuration part.
But there is a better way:
Instead of “etc” argument you can use “etn” (Entity Name) in the query string. Then use the logical name of the entity. Logical name is the same on all instances.
http://SERVER:PORT/OrganizationName/userdefined/edit.aspx?id={GUID}&etn=EntityName
http://testsrv:5555/Contoso/userdefined/edit.aspx?id={08B91EBF-525A-DE11-94A6-002354F5ABA2}&etn=new_testentity