Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all 82002 articles
Browse latest View live

Organization Insights Update - Installation Failure

$
0
0

So I tried to update my OI app yesterday, and it continuously failed. I saw the note on the app page stating: Note: If you had tried installing 1.3.0.1 and the Upgrade failed, please Delete the solution 'OrganizationInsights_Upgrade' with version 1.3.0.1 first, and then delete the solution 'OrganizationInsights' with version 1.2.2.0 solution from your Organization and then proceed to install this application.

I went in and removed the 1.3.0.1 solution. I couldn't find the 1.2.2.0 solution in my list of system solutions.

I have retried again this morning, and my installation keeps failing. Am I missing something else that needs to be removed first? 


Uninstall Data Export Service in Dynamics CRM - Managed Solution

$
0
0

Hi All,

I have  Data Export Service - Managed Solution installed in one of the Test environments. I want to uninstall it but I was not able to because, when I do so I get below message:

Cannot delete RibbonCommand,RibbonCommand,RibbonCommand, because one or more components require it. Details If you contact support, please provide the technical details. 

It is showing that this solution is required by Application Ribbons.

Please advise how I can uninstall this solution?

Thanks

System.Net.Sockets.SocketException: Overlapped I/O operation is in progress

$
0
0

Hi,

I got this exception (only 3 times when creating 162 records) in my Plugin, triggered by an Action. So the Plugin was successful 159 times.

System.ServiceModel.CommunicationException: A TCP error (997: Overlapped I/O operation is in progress) occurred while transmitting data. ---> System.Net.Sockets.SocketException: Overlapped I/O operation is in progress
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
   --- End of inner exception stack trace ---

This is the line of code that was failing 3 times out of 162:

Entity entity = service.Retrieve(context.PrimaryEntityName, context.PrimaryEntityId, new ColumnSet(true));

How can I handle this type of exception?

Is it possible to rerun the Plugin?

Regards

Kjetil

I am trying to get to work on my development skills.. But New development workspace is Disabled

$
0
0

Hey every one,

I am trying to get to work on my development skills.. But New development workspace is Disabled

I have tried these options but none seem to work!

msdn.microsoft.com/.../gg846350.aspx

Can some one please help me fix the issue?

thanks 

vijay singh

Integrate Bar-code data with CRM fields in Word Templates?

$
0
0

Hie.

I would like to put the dynamic CRM field(e.g Account) into the Bar-code data so that the value of the field is always displayed in the Bar-code in the Word Template. The aim is to have a field from CRM(e.g Account) as a data source for the value displayed in the Bar-code in the template so that whenever the value from CRM changes, it will always be automatically updated in the Bar-code. Just how can I do this?  I have been trying to use the TBarCode Addin functionality but the functionality only prints the field as text (name of the field) instead of the field value.

Please help.

Regards

JC

Bing Maps View in Schedule Board for Field One suddenly stuck.

$
0
0

We have been using CRM 2013 with Field One for over a year without issues, all of a sudden earlier this week the map view on the schedule board gets stuck with a loading spinner.  

We've removed cache, cleared browsing history, tried other browsers, tried other computers and operating systems, even a different Bing Maps API key.  I'm pretty sure this uses JavaScript client side so firewalls wouldn't be an issue since I did try this outside the network as well.  

So far Microsoft support has just wanted to look at our settings.

Does anybody have an idea because our dispatchers are about ready to choke us!

There is no registered remote host to execute the plugin

$
0
0

We have a plugin that has worked perfectly fine on this instance and then suddenly today we are getting the following error when ever it attempts to execute.. Thanks in advance!

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: There is no registered remote host to execute the pluginDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>97491bea-f004-474b-a287-3418aa37e0a4</ActivityId>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>There is no registered remote host to execute the plugin</Message>
<Timestamp>2017-11-03T16:12:32.3250808Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>

[RSMSerialGenerator: RSMSerialGenerator.SerialPreview]
[64fe5494-70a7-e711-8103-e0071b7fe041: RSMSerialGenerator.SerialPreview: Update of rsmuk_serialconfig]


</TraceText>
</OrganizationServiceFault>

Error displaying Entity form with duplicate fields

$
0
0

I am receiving the "We're sorry, but something went wrong" error on a custom Entity Form

After rebuilding the Dynamics 365 Portal Entity Form and adding fields one by one and testing after each field is added, I believe I have identified that the error is being thrown because of duplicate fields on the Dynamics 365 Entity Form that is the basis for the Portal Entity Form.

Meaning.. the Dynamics Entity has a field named "Total" with a schema name of "new_total".  This field is on the Dynamics Entity Form twice but in two different Tabs.   When the Portal Entity Form is called, the error is returned.

Are there any known bugs relating to displaying duplicate fields in the Portal, and if so, is there a work around?

Thank you

Tom


pass user credentials in web api url

$
0
0

Hi, I understand that passing user credentials in web api url is not secure, but is it a supported way to call the web api from external applications?

CRM 365 on premise .NET Framework compatibility

Link To Multiple Entities

$
0
0

I have written the code to fetch fields of vice entity.

Entity1 - vice

Entity2 - ment

Entity3 - Model

Now Entity 2 has a lookup Model which is an entity. I need Model "name".  

Can any 1 please help how to retrieve related entity Entity 3 (Model) from Entity 2(ment)

QueryExpression qureyObj = new QueryExpression("vice");
qureyObj.NoLock = true;
qureyObj.Distinct = true;
qureyObj.ColumnSet = new ColumnSet(true);
qureyObj.Criteria.AddCondition(new ConditionExpression("companyid", ConditionOperator.Equal, "{441P363D-0DB4-E711-80E2-001DD8B721AB}"));

LinkEntity viceEquipment = new LinkEntity(" vice", "ment", " mentid", " mentid", JoinOperator.LeftOuter);
viceEquipment.EntityAlias = "DE";
viceEquipment.Columns = new ColumnSet(true);
qureyObj.LinkEntities.Add(deviceEquipment);

User Following Custom Entity Records

$
0
0

Is there a way for me create a Post based on a user following a record? 

As an example:. Anytime a user creates a follow I want a post to only display for that user. I also need a post to display for that record any time the record is updated.

Main issue: I need posts to display for only users that are following these records. How do I do this with a workflow? I guess I need to identify the following action and what user created that follow action in a workflow step somewhere? Thoughts? 

Xrm and document context challenge

$
0
0

Hi,

I'm having trouble figuring out the correct way to handle the changes of context between a javascript and an HTML web resource. I have an HTML resource that includes a javascript resource. Both of the resources use Xrm and document variables. In HTML, you use parent.Xrm or parent.document to access those variable's which are outside the HTML resource, but with standalone javascript resources you use regular Xrm and document to access those variables. This causes issues when I use the included javascript functions within the HTML and independently, as the "parent or not parent" context changes. What would be the best way to approach these "context" changes? I tried having some logic that sets Xrm and document to the value from the parent context, but it didn't seem to work.

//self explanatory
Xrm = (typeof Xrm !== 'undefined') ? Xrm : parent.Xrm;

//if you can't find the element that's meant to be in the top-level document, switch to the top level context before proceeding with the rest of the code.
var newDocument = (document.getElementById("CASE")) ? document : parent.document; 

tried different variations of the above, but they haven't both worked yet.

Adding page number in Opportunity form

$
0
0

Can we add Page number in Opportunity form if yes how ? Actually we have booking forecast sub grid in Opportunity form where we have more data we are having only arrow mark . is that possible to keep number in between arrow mark

Error when running ssis package in Dynamics 365

$
0
0

We have recently upgraded our CRM to Dynamics 365(8.2.0.749) and updated DB using latest Production Backup.

Whenever we try to run a SSIS Package from Sql server Management tools, we are getting the below error

Error: An error occurred with the following error message: "Metadata contains a reference that cannot be resolved:'https://{my crm url}/{OrgName}/XRMServices/2011/Organization.svc?wsdl=wsdl0'.".

Please note that the same Organization service works fine when updating/createing entities via SDK, CRM UI and we are able to generate early bound classess using svcutil.

Please help


Dynamics 365 App for Outlook - Tracking status in Outlook hack / workaround

$
0
0

Hi Everyone,

We are slowly moving away from the Dynamics 365 Outlook client to the new Dynamics 365 App for Outlook.

One of the things we find that really irritates our users with the new app is that there is no immediate onscreen way of seeing what you have tracked and what you have not. This is especially so for the users that send and receive hundreds of emails are day.

It's very annoying to have to check each email and click the Dynamics 365 App button to see it's tracking status.

I have found a supported way which uses Conditional Formatting in Outlook to change the color of an email once it's been tracked in CRM to allow users to quickly see when it's been tracked in CRM without having to go through a whole circus of processes.

Remember this is a workaround (By work around I mean it's better than the nothing we are given at the moment)

In Outlook you can add a column named "crmLinkState" (without quotes). To do this, go to the View tab, click View Settings button, click Columns , then click New Column. Type crmLinkState as the name. The column Type should be Number. Please also note that "crmLinkState" is case sensitive. The values which now appear in your new column mean the following:

blank - never tracked
0 - means untracked, i.e. it was tracked at some point but not currently
1 - track pending
2 - currently tracked

Now you have the new column in Outlook you can use Conditional Formatting in your View to altar the way a tracked email looks. What I have done is for any email which contains a crmLinkState = 2 than change the font colour to "Teal". This way my regular untracked emails are black and my tracked emails are coloured Teal.

Hopefully this helps anyone else out there who is scratching their head as much as I am.

Moving forward ideally I would like to see all the functionality of the Dynamics 365 Outook Client rolled into the App like multi selecting items to Track and also having it so the app automatically tracks my outgoing replies if they where tracked to begin with. For us automatically tracking the outbound reply is equally as important as tracking the inbound reply as sometimes its the sender who has the last words!

For more details on the "crmLinkState" field in Outlook see the following great read:
https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2013/01/22/crm-for-outlook-client-synchronization-blog-series-part-2-what-happens-when-you-track-an-item-in-outlook

Dynamics 365 App for Outlook - Search using lookup view does not display lookup fields.

$
0
0

In the Dynamics 365 pane of the Outlook, when I click to a field which opens a search box, enter a keyword, Lookup will search and display results showing the first three columns that are defined in the lookup view of the entity.

However I only see the columns that have data type as Single Line of Text, I could not see the columns that have data type as Lookup.

Am I missing some configuration anywhere?   For the regular web version, I can see them ok.

CRM very weird performance issue

$
0
0

Hi

We have some users who are suffering performance issue in CRM 2016. we believe the issue happened after installing update 2.1

While I'm troubleshooting the issue for user A who belong to Org1

I opened CRM in Chrome under the credential of user A, navigated to the queue, the default queue showed a list of email items

clicked on a random email to open which it took about 40 seconds to open- this is crazy slow from an end user standpoint.

I opened another tab in Chrome and login to CRM Org 2 with another user B who has no performance issue

open an email from queue, works fine as normal

Here is the funny part:

When I switch back to the other tab in Chrome for User A, open an email, it took one second which previously took 40 seconds!

Org 1 and Org 2 are in the same deployment but one of them used for UAT, second is production

Really appreciate any help

Thank you

 

     

How to get parent record(s) on the base of record id and entity name in Dynamics CRM?

$
0
0

Hi,

I have record id and entity name. I want to get all the parent records of the record id.

Example

Entity: contact, contactid: "8b4597d2-34c1-e711-810e-5065f38a9b90"

This contact used in 2 records of Lead.

Parent Entity: lead, 

Record1: 

     leadid: "6d0e63ef-34c1-e711-810e-5065f38a9b91"

     parentcontactid: "8b4597d2-34c1-e711-810e-5065f38a9b90"

Record2: 

     leadid: "178b9dc6-35c1-e711-810e-5065f38a9b99"

     parentcontactid: "8b4597d2-34c1-e711-810e-5065f38a9b90"

So, in above case Lead is parent entity and I need both record of lead entity. If contact is assigned to any other entity i.e account, it must list all 3 records(2 of lead and 1 of account).

I am using HTML webresource. I can call using WebAPI.

Please suggest.

Plug In Issue

$
0
0

Hi All,

I have registered this code on create of contact entity. I am retrieving data from Auto Number Entity but not able to update in auto number entity. Below is my code. Please help

if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity)
{
if (context.Depth == 1)
{
int NumberFormat=0;
Entity enity = (Entity)context.InputParameters["Target"];
var entityLogicalName = enity.LogicalName;
Entity entityAutoNumber = new Entity("new_autonumbering");
//entityAutoNumber.Id=""
string fetchXML = @"<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>
<entity name='new_autonumbering'>
<attribute name='new_autonumberingid' />
<attribute name='new_name' />
<attribute name='new_numberformat' />
<filter type='and'>
<condition attribute='new_name' operator='eq' value='" + entityLogicalName + @"' />
</filter>
</entity>
</fetch>";
EntityCollection result = service.RetrieveMultiple(new FetchExpression(fetchXML));
if (result.Entities.Count == 1)
{
foreach (var c in result.Entities)
{
var LatesAutoNumberValue = c.Attributes["new_numberformat"];
enity["new_contactid"] = Convert.ToString(LatesAutoNumberValue);
NumberFormat = Convert.ToInt32(c.Attributes["new_numberformat"]);
}
}
else
{
throw new InvalidPluginExecutionException("Auto Number increment is not configured for this Entity ot it has multiple record in Auto Number ");
}

NumberFormat = NumberFormat+1;
entityAutoNumber["new_numberformat"] = NumberFormat;
//service.Update(entityAutoNumber);
service.Update(enity);
}
}

Viewing all 82002 articles
Browse latest View live