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

VS 2013: Error loading CRM solution: Some properties could not be read

$
0
0

When trying to open a CRM solution in VS 2013, I get this error "Some of the properties associated with the solution could not be read". Below is my .sln. Could someone help?

    Microsoft Visual Studio Solution File, Format Version 12.00
    # Visual Studio 2013
    VisualStudioVersion = 12.0.40629.0
    MinimumVisualStudioVersion = 10.0.40219.1
    Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KTL.SalesOrderPlugin", "KTL.SalesOrderPlugin.csproj", "{D36890EC-F471-4332-8920-0C4FBF1FB3FA}"
    EndProject
    Global
    	GlobalSection(CRMSolutionProperties) = preSolution
            SolutionIsBoundToCRM = TRUE
        EndGlobalSection
    	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    		Debug|Any CPU = Debug|Any CPU
    		Release|Any CPU = Release|Any CPU
    	EndGlobalSection
    	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    		{D36890EC-F471-4332-8920-0C4FBF1FB3FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    		{D36890EC-F471-4332-8920-0C4FBF1FB3FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
    		{D36890EC-F471-4332-8920-0C4FBF1FB3FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
    		{D36890EC-F471-4332-8920-0C4FBF1FB3FA}.Release|Any CPU.Build.0 = Release|Any CPU
    	EndGlobalSection
    	GlobalSection(SolutionProperties) = preSolution
    		HideSolutionNode = FALSE
    	EndGlobalSection
    EndGlobal



Image embedded in a email body

$
0
0

Hello friends,

How can i embed an image in an email body in CRM 2015?

Best regards,

Create a Workflow to Send Email - What is missing here?

$
0
0

Hello Everybody!

First, I'm not a "master" in CRM2016 so...is there is a posibility that my "missing action" is nothing like to change a configuration hehehe, but I don't know what configuration would be....

The other day I asked for make this workflow with "Today Date" and somes peoples send me links to know another case and I think that I get it, but I send the condition "true" and nothing happend...

Could you tell me if my steps is "Oks"? or What's missing here?

Then I active this and the workflow "will be rdy". But:

So, what I must do? PD: I don't have integrated CRM to Outlook I think, but it's not only for work?? I means, without it, crm could send emails to me Outlook no?

CRM SDK Complex Query - Return All Records Only If They All Have Flag Attribute = True Under Particular Parent

$
0
0

Hi,

I am trying to accomplish the following query by using a Query Expression:

select * from parent p
inner join child c on c.new_parentid = p.parentid
where c.flagattribute = 1(true)

BUT, I want to return all child records only if all the child elements have c.flagattribute = 1 under a particular parent record. If any of the child elements under the parent have one record with c.flagattribute = 0, I don't want to return any of the child records under that parent.

parent: 1
child: flagattribute = 1
child: flagattribute = 0

parent: 2
child: flagattribute = 1
child: flagattribute = 1

The desired query would return only the child elements under parent 2.

Let me know if I can clarify further. I don't believe I can accomplish this purely with QueryExpression, but FetchXML came to mind. QueryExpression + LINQ would work.

Thank you!

Exclude Notes and Webpage from Portal Search Result..

$
0
0

I want to exclude Notes and WebPage from Portal Search Result..  Can anybody Help me in this.. 

Thanks in Advance !!

Switch Dynamics CRM online Sandbox instance to Production

$
0
0

I have Microsoft Action pack where I get 2 dynamics CRM instance along with other apps(Instance 1, Instance 2). Initially, i have customized one instance(Instance 1 - Sandbox) and did all my changes. Due to some issue in Instance 1, I am not able to move the customization to Instance 2. So I configured Instance 2 as Sandbox and started customizing the same thing which I did for Instance 2.

Now I want to convert Instance 2 to Production. My major concern is I have made a lot of customization and Data upload in Instance 2 and I am afraid of Data/Customization loss if I switch instance 2 from Sandbox to production.

Anyone did the same before please let me know. 

I have tried to export Default Solution/Custom Solution but when tried to import the same in another online trial instance its showing XML mapping issue.

Any help is appreciated.

Corrupted workflow

$
0
0

I am trying to de-activate a workflow but receiving the following error in logs and it will not de-activate....is there an easy fix for this?

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Published workflow definition must have non null activation id.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Published workflow definition must have non null activation id.</Message>
<Timestamp>2018-03-15T17:30:37.0935094Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Unable to reach my main Form in Unified Interface new Apps

$
0
0

I create a new app.

I can access grid list but when I double-click on it,  an error message appears.

Form descriptor is null or not defined for entity '<Entity Name>' 

UciError: Form descriptor is null or not defined for entity '<Entity Name>' 

Can you help me to find what doesn't work.

Thanks


Early binding vs late binding in Crm d365

$
0
0

CRM Experts,

We have started working on D365 project which would be having very heavy customizations consisting of 150+ custom entities and most of the entities consist of 200+ fields on average. Major entities like account, contact,lead,campaign etc.. consist of 500+ fields as well.

Since soon we have to start building C# code(plugins/workflows), need to decide on which approach to take- early binding or late binding.

Please suggest what is best suitable approach considering the heavy application we are going to have.

Already went through different blogs on same topic but would be more interested in knowing experiences with this kind of scenario.

Thanks in advance!!

Regards,

Rohit

How to set a value to a field using workflow

$
0
0

Hi friends 

I want to set a zero value to a field A when status of opportunity record set to on -Hold using real time work flow.

Incorrect Time Stamps - Project Service Automation

$
0
0

Hey gang! Running into a bit of a problem.

I'm doing a preliminary setup of a PSA Environment, and I'm seeing that the time stamps are off.

In the screen-shot below you'll see I changed the project status and saved the record. But the time stamp is 5 hours ahead of my current time.

I obviously thought my time-zone was set incorrectly, but went to setting and it is actually correct. I am located in the Central Time-Zone.

Is there another time zone setting somewhere that I'm missing? I want to fix this before I start creating resources and have to change things around later. Maybe in the Office 365 Admin Center? I'm not seeing one but I could be missing it.

Get Value of the Current Record for FetchXML

$
0
0

I have an Entity B that I open the form to create New from the Contact.  The Contact autopopulates to Entity B.  I have another Entity A that relates to the Contacts via N:N.   I want to get a list of these values with the Contact for my fetchXml.  I have hard coded a value and it works. I have tried #contactid# and it doesn't work and I have tried contactid and it doesn't work either.  Is there anyway to have the value populate with each selected contact?

<link-entity name="contact" from="contactid" to="contactid" alias="ac">
        <filter type="and">
          <condition attribute="contactid" operator="eq" value= /> 
        </filter>
      </link-entity>


unable to update the contact from the account using web api(Rest Builder)

$
0
0

body// JavaScript source code
function updateOperationUsingWebAPI() {
debugger;
//var clientUrl = Xrm.Page.context.getClientUrl();

var id = Xrm.Page.getAttribute("primarycontactid").getValue()[0].id;
alert(id);
var contactID = id.substring(1, 37);
alert(contactID);

var entity = { "firstname": "update1", "lastname":"update2"};

var req = new XMLHttpRequest();
req.open("PATCH", Xrm.Page.context.getClientUrl() + "/api/data/v8.2/accounts(" + contactID + ")", false);
req.setRequestHeader("OData-MaxVersion", "4.0");
req.setRequestHeader("OData-Version", "4.0");
req.setRequestHeader("Accept", "application/json");
req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
req.onreadystatechange = function () {
if (this.readyState === 4) {
req.onreadystatechange = null;
if (this.status === 204) {
//
}
else{

Xrm.Utility.alertDialog(this.statusText);
}

}
};
req.send(JSON.stringify(entity));
}

Email Migration - Online to Online - Queue with ID does not exist

$
0
0

Hi,

I am doing data migration from online to online and currently stuck in the email migration step. Source system contains several Queues but destination system contains only 1 public queue. The migration fails with error - Queue with ID = <GUID> Does not exit.

Any suggestions to resolve this error or to workaround this please?

Thanks

AJ

Updating a record field when that record is cloned using workflows

$
0
0

Hello,

First question:

I have a 2 option set field called "refill in progress" with either "yes" or "no" values, the default value being "no."

When I clone a record, I would like this field to be updated to "yes." Any resources on how to do this with a workflow? 

Second question: 

Would it be possible, using workflows, to have that field changed from "yes" back to "no" if the cloned record is deleted? This isn't as important, but would be nice if it's simple enough to do.

Thank you! 


Performance Center Help

$
0
0

Hello, 

I notice that the account Form was running Slow so I ran the Performance tool and received this (see below) for Select Major. Can someone point me on the right direction on getting this fixed?? 

Form Load Start (-> 0 ms)

RequestNotesControlLayout_Start (-> 2594 ms)
Turbo Form Load Start (-> 2881 ms)
Page Ready for Data Bind (-> 3300 ms)
Data Ready (-> 3309 ms)
Custom Script Frame Loaded (-> 3482 ms)
PageLoadedWithRibbonData (-> 3581 ms)
TurboFormPreOnloadTimestamp (-> 3656 ms)
TurboFormPostOnloadTimestamp (-> 3666 ms)
MDDEnd (-> 3666 ms)
ControlsInitializationCompleteTimestamp (-> 3945 ms)
CommandBar Rendered (-> 4384 ms)
AllSubgridsLoaded (-> 4780 ms)

CSV

Marker,Start,End,Duration
"PageManager.LoadHandler",1521153124096,1521153124099,3
"RemoteCommand.Execute - {""IsAsync"":true,""Service"":""MessageBar"",""ReqId"":""1a831b51-fe06-4f29-97cd-b8ea862e994c""}",1521153126077,1521153126389,312
"RequestNotesControlLayout",1521153126656,1521153126666,10
"Update ProcessId From Local Storage",1521153126952,1521153126952,0
"OnLoadStarted handlers",1521153126959,1521153126963,4
"Request Form Layout",1521153126969,1521153126976,7
"Parse Form Layout Response Json",1521153126981,1521153126986,5
"Process Entity Metadata",1521153126992,1521153126992,0
"Process inline edit subgrids",1521153126996,1521153126996,0
"Style Includes",1521153127001,1521153127002,1
"Script Includes",1521153127008,1521153127018,10
"Layout Variable Includes",1521153127024,1521153127028,4
"Inject Layout Includes to Page",1521153127000,1521153127033,33
"Render Form Layout",1521153127037,1521153127066,29
"Initialize Application Components",1521153127074,1521153127077,3
"Process Form Layout",1521153126992,1521153127084,92
"DataSource.Initialize",1521153127089,1521153127627,538
"PageManager.LoadHandler",1521153127093,1521153127099,6
"Load Form",1521153126944,1521153127099,155
"CrmSoapServiceBase.ExecuteRequest - {""IsAsync"":true,""ReqId"":""7530f987-5b7d-4081-94c2-30b0f77bdeb9""}",1521153126963,1521153127158,195
"AF_RetrieveRecordWall_Render",1521153127204,1521153127208,4
"Build Page View Model",1521153127217,1521153127231,14
"Build Page Views",1521153127238,1521153127252,14
"FormNavControls.Initialize",1521153127268,1521153127269,1
"Initialize Xrm Controls and Data",1521153127216,1521153127287,71
"Build Page View Model",1521153127295,1521153127297,2
"Build Page Views",1521153127302,1521153127303,1
"FormNavControls.Initialize",1521153127309,1521153127309,0
"Bind Xrm to HTML",1521153127295,1521153127344,49
"ProcessControl.InitializePageObjects",1521153127351,1521153127351,0
"InitializeProcessControl",1521153127351,1521153127354,3
"OnLayoutReady handlers",1521153127358,1521153127358,0
"Waiting for data ready before BindData",1521153127362,1521153127362,0
"Waiting for layout ready before BindData",1521153127366,1521153127366,0
"Process Cached Layout",1521153127371,1521153127373,2
"Data Variable Includes",1521153127378,1521153127380,2
"Load PBL Webresource",1521153127384,1521153127384,0
"Create Common Controls",1521153127388,1521153127396,8
"Bind Form Data for form: 8448b78f-8f42-454e-8e2a-f8196b0419af",1521153127404,1521153127416,12
"LoadProcessControl",1521153127422,1521153127422,0
"ProcessControl.PostInitialize",1521153127426,1521153127426,0
"FinalizeProcessControl",1521153127429,1521153127429,0
"Bind FormData to Process Control",1521153127422,1521153127433,11
"Form RibbonLayout Request - Async",1521153127439,1521153127439,0
"Initialize Command Bar",1521153127439,1521153127443,4
"Non-Form RibbonLayout Request - Async",1521153127448,1521153127449,1
"InitializeBingMapControl",1521153127459,1521153127459,0
"Execute OnLoad for form: 8448b78f-8f42-454e-8e2a-f8196b0419af",1521153127453,1521153127468,15
"Bind Data",1521153127404,1521153127474,70
"OnDataBound handler",1521153127478,1521153127478,0
"Create Quick Form",1521153127482,1521153127482,0
"Create Record Set Control",1521153127485,1521153127487,2
"Add Item to MRU",1521153127492,1521153127493,1
"Bind Data and Create Controls",1521153127371,1521153127498,127
"Script Frame OnLoad",1521153127545,1521153127547,2
"RemoteCommand.Execute - {""IsAsync"":true,""Service"":""RecentlyViewedWebService"",""ReqId"":""70d23571-2065-4c8b-a2bb-559fe7634d75""}",1521153127097,1521153127555,458
"Waiting for Form Ribbon Layout Response to evaluate Subgrid Ribbon Layouts",1521153127583,1521153127593,10
"BingMapLoad",1521153127459,1521153127671,212
"Run form Onload method: SendMessageToPageManager",1521153127709,1521153127709,0
"Run form Onload method: Mscrm.BusinessRulesScript.Initialize",1521153127716,1521153127716,0
"Run form Onload method: CreateTurboFormPreOnLoadPerfMarker",1521153127718,1521153127719,1
"Run form Onload method: showNewsSection",1521153127723,1521153127723,0
"UI Update 1",1521153127728,1521153127993,265
"Post OnLoad UI Update",1521153127728,1521153128001,273
"Request SubGrid Data",1521153128007,1521153128018,11
"Request Subgrids Data",1521153128007,1521153128025,18
"Edit-Ready (pre-onload)",1521153124062,1521153127719,3657
"Edit-Ready (post-onload)",1521153124062,1521153127728,3666
"Complete Load",1521153124062,1521153128007,3945
"Handle Post OnLoad",1521153127728,1521153128048,320
"Run form Onload method: SendMessageToPageManager",1521153127728,1521153128053,325
"Run form Onload method: FireDataLoad",1521153128059,1521153128059,0
"LoadCommandBarData",1521153128093,1521153128452,359
"BuildCommandBar",1521153128099,1521153128433,334
"Append Script: /{636559318600000339}/WebResources/ptm_AMEnableScript",1521153128113,1521153128116,3
"Run form Onload method: SendMessageToPageManager",1521153128123,1521153128123,0
"Append Script: /{636559318600000339}/WebResources/ptm_EnabledRuleCheck",1521153128256,1521153128259,3
"Run form Onload method: SendMessageToPageManager",1521153128265,1521153128265,0
"Fire Global PageLoaded Event",1521153128091,1521153128454,363
"Refresh NavBar",1521153128462,1521153128488,26
"RemoteCommand.Execute - {""IsAsync"":true,""Service"":""LookupService"",""ReqId"":""d8df82fd-75de-42db-a9a8-c1da33c322a8""}",1521153128029,1521153128512,483
"Bind Subgrid_Associated_Applications",1521153128522,1521153128569,47
"Bind Subgrid_PreFundedFunded",1521153128576,1521153128606,30
"Bind Subgrid_News",1521153128613,1521153128627,14
"Bind Subgrid_Contacts",1521153128632,1521153128660,28
"Bind Subgrid_Owners",1521153128666,1521153128694,28
"Bind Subgrid_subgrid_Entitlement",1521153128700,1521153128725,25
"Bind Subgrid_ChildAccounts",1521153128732,1521153128832,100
"Server: System Plugins",1521153124062,1521153124065,3
"Server: Pipeline30",1521153124062,1521153124064,2
"Server: SDK Total",1521153124062,1521153124072,10
"Server: SQL Total",1521153124062,1521153124077,15
"Server: ExecutionTime",1521153124062,1521153124249,187

Hierarchy Security - Share Privileges

$
0
0

I am using CRM 2016 v8.1 on-prem. I am testing the hierarchy security in our sandbox trying to understand this a little better. I have only 1 Business Unit and I am using the Salesperson & Sales Manager roles. The salesperson has basic Create, Read, Write, Append, Append To and Assign (no privileges to delete or share). The Sales Manager role has basic Create, Write, Append, Append To and Assign and Org level Read (no privileges to delete or share). I have a sys admin account (Chrys Admin) and a test account with the Sales Manager role (Chrys Manager); a user with a Salesperson role (Peter Sales) and 2 other sys admin accounts (Rocket Admin & Groot Admin). Chrys Manager is Peter Sales' manager. I split the ownership of sample cases between all 5 users. What I expected Chrys Manager to be able to do is:

  1. Read, edit & assign all cases owned by Chrys Manager
  2. Read, edit & assign all cases owned by Peter Sales
  3. Read-Only all cases owned by Chrys Admin, Rocket Admin & Groot Admin

What is actually happening with Chrys Manager is:

  1. NOT able to open any cases owned by Chrys Manager
  2. Read & edit cases owned by Peter Sales. NOT able to Assign
  3. Read-Only all cases owned by Chrys Admin, Rocket Admin & Groot Admin

When I am logged in as Chrys Manager, I try to open a record owned by Chrys Manager and I receive the prvShareIncident error message. I don't understand why I have to have Share privileges to open my own record. We are trying to avoid giving share privileges to our users. What am I missing here? Below are screenshots of the role settings; I cropped the images to reduce the size to only show the Case entity.

If anyone can help me understand what I'm doing wrong or what I'm missing, I would greatly appreciate it.

Thank you,
Chrys

Visual Studio 2015 Dynamics 365 FetchXML SRSS Report creation link-entity link-type outer troubles

$
0
0

Hi everyone,

I'm having trouble getting all rows of data to display for each account when viewing the report. All my link-entity joins seem to be working correctly, but I am somehow only getting a single row limit output for each account. The Query Designer run is showing all the data rows but when running the report, I only see 1 row for each account. For example, if I am joining Accounts to Contacts, I want to see a separate row for each contact, the query designer run is showing me all contact rows for each account, but the report output only shows 1 row per account. Thanks for any help.

How to reference field values from Invoice entity in a HTML web resource?

$
0
0

Hi,

I'm creating pdf view of Invoice in our CRM instance, I'm able to have the button created to generate PDF view and for testing purpose currently using a static HTML page. I need to make it Dynamic. how can I read data from Invoice entity and include it in my html web resource to populate fields?

here is an example of what I'm looking for. my code converts anything html to pdf hence I only need to know how to read data from fields of a certain entity to html web resource.

Lookup Relationship

$
0
0

If i add a lookup field entity on account form then which type of relationship is created on the account entity? and what is the relationship behavior associated by default

My understanding is, we will have 1: N relationship and default behavior is Parental.

Viewing all 46379 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>