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

Web resource not opening in front

$
0
0

Hi,

I have a menu option; that on clicking opens a web resource html window. The menu is on campaign response screen. I try to give some values in some fields and before saving those values I click on menu option that opens the web resource html. Now I have written the code like:

Xrm.Page.data.save().then(OnSuccessCampaignResponseSave, OnErrorCampaignResponseSave);

So after the data is saved on campaign response; then this code executes.

function OnSuccessCampaignResponseSave() {
    var id = Xrm.Page.data.entity.getId();
    if (getInternetExplorerVersion() > 0) {
        var options = "width=" + 440 + ",height=" + 320;
        window.open(domain + "/WebResources/Entities/CampaignResponse/ide.htm" + "?Data=" + id, "", options).focus();
    }
    else {
        Xrm.Utility.openWebResource('Entities/CampaignResponse/ide.htm', id, 440, 320);
    }}

but somehow the focus doesn't work.

What can be done in case of Xrm.Utility.openWebResource() thing? I want to make it as show in front or focus it after the campaign response is saved completely.

Can anyone pl help me in this?


Change statecode and statuscode on click of custom button click

TRY THIS : Puzzle without an answer : Unable to search "L0003050"

$
0
0

Unable to search "L0003050" using quick find but filters can search this.

From the following list I can search all the values(A Field) in an entity but not L0003050

L0003040
L0003041
L0003042
L0003043
L0003044
L0003045
L0003046
L0003047
L0003048
L0003049
L0003050
L0003051
L0003052
L0003053
L0003054
L0003055
L0003056
L0003057
L0003058
L0003059
L0003060
L0003061

Any thoughts.

Release date for Microsoft Dynamics CRM 2015 OnPrem Update.. 2?

$
0
0

Driving myself crazy here.. we are anxiously awaiting the entity data tracking feature already enjoyed by our CRM Online friends.  We are OnPrem and I believe this feature will be available Fall 2015 (I read somewhere September).  Does anyone know when this update is due out? Has anyone got ANY information on this?

Documentation at Technet refers to it being available to OnPrem currently but I believe this to be incorrect (https://technet.microsoft.com/en-us/library/dn946903.aspx) .

If anyone can give any kind of information on this thread I'd be grateful.  It shouldn't be this hard to find it out for goodness sake.

Cheers.

Updating the Base currency value of an open Opportunity to reflect the current exchange rate

$
0
0

When a user creates an Opportunity in CRM, the system sets the value of the Estimated Revenue (Base) according to the exchange rate that is set at that time and only changes it when a currency-related value is changed on the Opportunity.  We change our exchange rates for reporting purposes monthly.  We want open Opportunities to be converted to the Base currency according to the current reporting exchange rate.  So if someone enters an Opportunity with a value of AUD1,000, and the exchange rate to the base currency (USD) is 1.4, then the Estimated Revenue (Base) will be set to USD714.29.  At the end of the month, if we revise the exchange rate to 1.35 we want the value of the open Opportunity to show as USD740.74.  This is logical since the real value of the Opportunity in the Base currency will only be final when it is Closed (either as won or lost).  But the system keeps the value set to USD714.29 regardless of how we change the system exchange rate.  We have several hundred Opportunities open at any one time and many of them remain open for more than a month, so opening all open Opportunities up every month and adding 0.01 to the local currency value (and then reversing the process for tidiness) is not practical.  We're looking for some automatic way of doing this.  Does anyone have a practical solution to this problem?

How can I open free trial Preview CRM 2016??

Is it possible to read Div element of entity form using Javascript in CRM 2015 ? I tried document.getElementById("") not working....

$
0
0

I am trying to read Dive element on entity form using javascript so that I can change the style of that perticular element. I tried document.getElementById("") not working..

For example : Below statement is not working. Showing null value.

var customControl = document.getElementById("header_notescontrol");

Allow a list of users to trigger plugin

$
0
0

I've a plugin that executs at create message of contacts. I want to trigger plugin only when specific users are creating contact. One way is to create multiple message for all of the users. Is there any other way to do?


Plugin error - Generic SQL Error

$
0
0

Hi,

On MS Dynamics CRM Online 2015 Update 1- I have deployed a plugin and it throws Generic SQL Error exception. The tracing log is not showing anything missing from steps I need to perform. Everything is smooth in logs. The error is as:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ErrorCode>-2147204784</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Generic SQL error.</Message>
  <Timestamp>2015-09-14T12:41:05.6044674Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

I appreciate all the help.

Many thanks,

Create Business rules

$
0
0

Hello, I wonna create business rules some kinde of: 
I have field "A" (lookup type) and field "B" (lookup type), I need  automatically filling field "C" (text type) with text from field "A" "B". How can i do this?

How to create record in CRM by Azure AD authentication?

Error when I associate closed Incidents to a new incident

$
0
0

Hello !

When I try to associate a new incident with closed Incidents I have this message error:

"This case has already been resolved. Close and reopen the case record to see the updates."

here is the screenshot:

 and here is the message error:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: This case has already been resolved. Close and reopen the case record to see the updates.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ErrorCode>-2147220273</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
    <KeyValuePairOfstringanyType>
      <d2p1:key>CallStack</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode)
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)</d2p1:value>
    </KeyValuePairOfstringanyType>
  </ErrorDetails>
  <Message>This case has already been resolved. Close and reopen the case record to see the updates.</Message>
  <Timestamp>2015-09-14T13:37:51.4833346Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>
 Do you have  any idea how I can fix this problem,

thank you in advance !!

CRM 2013 : Hiding custom entity section on change of associated account option set value.

$
0
0

Hi ,

I need to hide the custom entity section based upon the onchange of the option set value on Account entity.

In Account entity I had one option Set Hide Customer Details values Null and Show

In custom entity I have Customer Details Section and its contains some attributes.
And also Account lookup.

On selection of Look up Account record if that record is having the option set value = null then in custom entity I need to Hide the Customer details Section , if option set value is Show then I need to Show the section in Custom entity.

Please let me know how to work on it.

Thanks,

Retrieving Attachment and add to TFS workitems.

$
0
0

Hello, I am doing a project where I am integrating team foundation server with CRM. Currently I am having a problem in which I would like if some expert helps me here.

I wrote a plugin that runs on creation of case. When a case is created , the plugin connects to TFS and writes information from Case to workitem in Team foundation server. All is working fine. Now I want to add attachment to my data. We can add annotations to case via notes. section. I want to retreive that and write that in TFS. As TFS and CRM are two different servers, I have following questions in mind.

1. If I convert attachment to base64 string at CRM end and decode it at TFS end will it recognize that image?

If No, How can I move image from CRM server to TFS server? 

P.S pardon me. I dont have complete understanding of moving attachments, Please ignore if my question has some funny thing. Thanks

Importing an Organization database from a different source

$
0
0

Hi,

We currently have an on premise installation of Dynamics 2013 but have just acquired a company that uses a hosted on line Dynamics 2013.  The hosting company will be providing us with a SQL database backup of the database but I'm wondering if it is possible to import this database as a new Organization.  Given that the hosting company will presumably have performed some level of configuration how will that effect the import?  i.e. would we be ale to import the database into a 'vanilla' installation of Dynamics?

Ideally I would like to get the acquired version up and running in some way so that users can continue to use the system while we prepare to migrate the data into our on premise installation.

Any advice would be gratefully received!

Thanks,

Jon.


Data Import Fields

$
0
0

Hi,

In CRM Online 2015, when downloading a template for data import, what fields is it giving me?

Best,

Blayze

Error when re-activating dialogue that creates new contract after editing

$
0
0

Hi

I deactivated a dialogue that creates new contracts based on contract templates depending on text in Opportunity topic.  I wanted to add extra check conditions.

When trying to activate the updated dialogue, I got error due to two new required fields on contract (Bill FAO, Bill To Address) that weren't being populated in dialogue (I think).  There were warning error crosses on dialogue window to indicate that errors were present but hadn't noticed them.

Have tried to fix by populating the new required fields in contract entity in the dialogue - error warning symbols have gone from dialogue edit window.  Everything looks OK now and can Save and Close dialogue OK but still get generic error (80048455) when trying to activate.

Can anyone help?

Many thanks

David N

Export to Excel from CRM 2015 online has changed

$
0
0

On Friday, 9/11/15 we were able to export a view from CRM 2015 online (pre-update 1) and get all of the columns in the view. Today, 9/14/15 when exporting a view (1)three additional columns are exported that aren't in the view (2) The GUID is provided for two columns that have the information displayed correctly in the view (3) when the exported file opens, it's in read-only instead of xml as it was previously (3) the export options are different.

 

What happened over the weekend?

We have received a Storage limited Reached

$
0
0

Hello Everyone:

Wanted to know if it's OK to delete old System Jobs that don't have a date or are from 2013.

Also what can I delete I know notes and email attachments are big ones.

Any info would be great.

Thanks

_damon 

Search for all accounts where postalcode in the linked address entity matches

$
0
0

I would like to extend my fetchXML to return all accounts where the postalcode matches not only the address1_postalcode field but also the postalcode field in any linked customer address entities. So far, I have the fetchXML as follows but when searching for a postcode that I know exists as a customer address linked to an account, no results are found:

vXml = @"<fetch mapping=""logical"" count=""50"" version=""1.0"">
	<entity name=""account"">
		<attribute name=""telephone1"" />
		<attribute name=""accountid"" />
		<attribute name=""name"" />
		<attribute name=""new_type"" />
		<attribute name=""address1_line1"" />
		<attribute name=""address1_line2"" />
		<attribute name=""address1_line3"" />
		<attribute name=""address1_city"" />
		<attribute name=""address1_county"" />
		<attribute name=""address1_postalcode"" />
		<attribute name=""address1_country"" />
		<attribute name=""emailaddress1"" />
		<filter type=""or"">
			<condition attribute=""name"" operator=""like"" value=""%{QUERY}%"" />
			<condition attribute=""address1_postalcode"" operator=""like"" value=""%{QUERY}%"" />
			<condition attribute=""new_accountreference"" operator=""like"" value=""%{QUERY}%"" />
		</filter>
		<link-entity name=""customeraddress"" from=""parentid"" to=""accountid"" link-type=""outer"">
			<filter type=""or"">
				<condition attribute=""postalcode"" operator=""like"" value=""%{QUERY}%"" />
			</filter>
		</link-entity>
	</entity>
</fetch>";


What modifications do I need to make?

Viewing all 87499 articles
Browse latest View live