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

FetchXML @Microsoft.Dynamics.CRM.morerecords

$
0
0

Hi,

I've been trying to utilize the MoreRecords property to handle paging of a large recordsets via Dynamics REST API with FetchXML:
Reference: docs.microsoft.com/.../page-large-result-sets-with-fetchxml

If I set count=1 (ie only one record per page) in my Fetch XML:

//ROOT.dynamics.com//api/data/v9.0/contacts?fetchXml=<fetch page="1" count="1" version="1.0" output-format="xml-platform" mapping="logical" distinct="false" no-lock="true" paging-cookie="...">...</fetch>

If I have 10 pages of results, what I am finding is that this MoreRecords property always seems to have a value of False/0.
However, based on what I understand, MoreRecords should be True until page 10 if I have 10 pages of results, 1 result per page.
Am I using this MoreRecords property correctly?






Sync mailbox of custom hosted email in Dynamics 365

$
0
0

Hi All,

I've a GoDaddy hosted email address called myname@company.com. I access the same using Gmail app. I'm not having Outlook mailbox in the picture.

I want to establish an Email Sync between this email address and Dynamics 365 (my first assumption is that I'll need to create a queue for this? because the mailbox won't be associated with a user)

Any thoughts on how I can achieve this?

Thanks.

how to write javascript code Client API Reference formContext.ui.formSelector getId/getLabel/navigate?

how to write javascript code Client API Reference formContext.ui.navigation getId/getLabel/getVisible/setFocus/setLabel/setVisible?

Hide /Show a button based on Security Role ( Using Ribbonworkbench and Enable Rule(Javascript) ) ?

$
0
0

If any related demo or code is there please share. It will be very helpful. Thank You in Advance.

In Hub, how to filter subgrid, using JavaScript or Plugin

$
0
0

Hi All,


The fetchxml I need is with linked entity and with 'under' condition.

'<link-entity name="account" from="accountid" to="customerid" link-type="inner" alias="bm">' +
 '<filter type="and">' +
 '<condition attribute="accountid" operator="under" uitype="account" value="{' + accountId + '}" />' +
 '</filter>' +
'</link-entity>'

The JavaScript and Plugin both are working in traditional Dynamics 365, but NOT in HUB.
Let me tell you, what I have tried.

JavaScript, I tried these to set and refresh:
formContext.getControl("subgridname").getGrid().setParameter("fetchXml", fetchXml);
parent.Xrm.Page.getControl("subgridname").setFilterXml(fetchXml)
window.parent.document.getElementById("subgridname");   -> cannot find 'control' using this one.

plugin, I tried on 'RetrieveMultiple' event and replace context.InputParameters["Query"]

With either JavaScript or Plugin,
As the subgrid shows correct result in traditional Dynamics 365, could I think, this is another defect in Hub?

If anyone has working examples in HUB, could you peleas share?

Thank you very much in advance. 

Regards,

Zhenyu

Barcode images create

$
0
0

Hello, 

We use solution from PowerObject to create barcode images in CRM. But in June 30 support for this solution stop. 
Do you know any other solution to create barcode images in CRM?

Server-side sync synchronising same emails over and again

$
0
0

Morning all,

Here's an interesting problem to test the very best.

I have a user whose email synchronisation stopped at some point in the last month.

We have CRM 2013, server-side sync to Exchange 2010 (I know, we live in the past. What can you do). This organisation was created last September and has worked fine. Other users work fine.

The symptoms I'm seeing are as follows

  • Emails sent from within CRM are sent and replies tracked normally
  • Emails sent/received into Outlook are not tracked (you can set regarding, but the email is never tracked and never appears in CRM)
  • Whenever this user's synchronisation cycle runs, the same selection of (about 30) emails has its modified date updated to the current date and time. I can find nothing that these emails have in common. Their dates span the time this organisation has existed. Some are owned by this user, some are owned by other users.
  • I have warnings of 'MimeConversionError' generated in the user's mailbox, but I don't know to what these errors refer. They also don't disable the mailbox.

Have tried disabling the mailbox and testing and enabling it again, restarting the async service, deleting the org from the Outlook plugin and setting it again. Client or server tracing gives me no information.

Other information

The mailbox table records the LastMessageID, this seems to be the most recent email in the user's outlook, so CRM seems to be talking to Exchange and pulling some information back.

There is a large number in the TransientFailureCount field on the Mailbox table, but I'm damned if I can find out what this translates to other than it's bad.

It feels like something is cached somewhere that these particular emails need updating, so it updates them but that cache (if such a thing exists) is not removed.

Any comments, theories, insults welcomed from things that may seem obvious to things that seem crazy. I've spent a week banging my head against this so I'm prepared to try anything

Thanks

Neil


USD – UCI Return results from a RunXrmCommand

$
0
0

Hello everybody,


Since the migration UCI, I have problems.

Before this migration, returned results from a RunXrmCommand was easy, we declare the function in data field and fire it and we have the returned value.

But Since UCI, the fonctionnality it isn't the same. Now we must called a WebResource with parameter the function name to execute it , Ok it works when it's a easy function but when the function must returned a value we can't get back this value.

If you have any solution, I would like eard you :)

Hover Text on Mobile/tablet displays

$
0
0

On the desktop when you hover over a field you get the description displayed as hover text. 

I know there is no hover for mobile, but it is possible to display this information?

All ideas supported or unsupported are welcome.

Interact with HTML web resource on a Form in Unified Interface

$
0
0

How can you access web resource window from form:-

You used to be able to do with Xrm.Page.ui.controls.get("<WebResource_Name>").getObject().contentWindow.<JavaScript_Function>(parameters);

I’ve replaced Xrm.Page with the Form context (ExecutionContext.getFormContext) but get an error that contentWindow does not exist.

 

How can you access Form Window from Web Resource:-

You used be able to use parent.Xrm.Page and this continues to work with V9 but NOT on Unified Interface. Microsoft’s documentation say’s you have to continue using this method for V9.

 

My code all works with CRM on-line using the Classic Forms but NOT with the Unified Interface.

Porting .net Framework to .net core Microsoft.Xrm.Sdk.Query

$
0
0

I am porting a project from .net framework to .net core. For that I created a new .net core (2.2.0) and adding files. In the .net framework I have using Microsoft.Xrm.Sdk.Query library and I could not find it in .net core. I am new to .net framework and .net core.

I want to know what would be the possible option to implement this in .netcore. Further it would be nice if i can get useful link for porting project to .netcore I saw Microsoft articles but they are very much abstract and its hard to go through them as a beginner. 

Unable to make fields in SSRS report

$
0
0

Hi There,

We created SSRS report few months ago and uploaded on Dynamic CRM, now we are trying to update the report as we need some changes using Visual studio. But we are getting the below error "Unable to connect to Data Source",I don't know why I am facing such problem. We have updated the report before as well and it never created any problem.

Is there any update in Dynamics due to which we are facing such error, do anyone has any idea on how to solve such issue. I am attaching the screen Shot

Unable to update SSRS report

$
0
0

Hi There,

We created SSRS report few months ago and uploaded on Dynamic CRM, now we are trying to update the report as we need some changes using Visual studio. But we are getting the below error "Unable to connect to Data Source",I don't know why I am facing such problem. We have updated the report before as well and it never created any problem.

Is there any update in Dynamics due to which we are facing such error, do anyone has any idea on how to solve such issue. I am attaching the screen Shot

Connecting to Linux Server through WinSCP in SSIS

$
0
0

We have SSIS and Hive servers on 2 different environments. Hive Server lives on Linux box. The objective of building SSIS package is to download certain files from Hive box through Hive scripts, transfer them to SSIS environment and upload these files from SSIS box to different application. Hence I would first need to bring the files from Linux box to SSIS box.

I'm trying to achieve this through WinSCP application from SSIS box (Server where Visual Studio is installed).

Implementation is as shown below:

  1. Use Execute Process Task and point the executable to C:\Program Files (x86)\WinSCP\WinSCP.exe
  2. Create a text file with details like

    open sftp://User:Password@Server 
    cd /foldername/foldername/foldername/foldername
    get *.csv D:\
    close
    
  3. Argument in Execute Process task is /script=C:\SFTP.txt

When I run this task, it will first launch the WinSCP application asking me to enter the host details. Once I provide details, the task completes successfully but does not transfer files from Linux box (Hive Server) to SSIS environment.

Any ideas or suggestions experts?


Hide Server-Side Synchronization Failures Dashboard

$
0
0

Hello,

I would like to know : How to hide the system dashboard Server-Side Synchronization Failures from my Dashboard selector ?

Usually I'll just enable the security roles for the dashboard that I don't want to show. 

However with the Server-Side Synchronization Failures dashboard, I cannot do that. 

So now I am stack with this dashboard. Unless I delete it, is it a good idea ?

Thanks for your reply,

Same field multiple times on single form

$
0
0

I am not sure how to use same fields multiple times as done in the screenshot.

The same field Prefix, Suffix,etc are used 3 time on the form and different values are entered in those.

when I try it, the value I enter in Prefix once gets populated in all the 3 boxes of prefix.

Is it possible to enter 3 different values as done in below screenshot.

How to pass dynamic variable value as array for a attribute in fetchxml?

$
0
0

i want to pass multiple variable to my below FetchXML  for (msdyn_workorderid) parametar 

in my case i pass 10 ststic parametars 

Is there another solution that makes it automatic?

Without installing the number of fild?

My FetchXML:

<fetch distinct="true" >
<entity name="msdyn_workorder" >
<attribute name="msdyn_workorderid" />
<attribute name="msdyn_serviceaccount" />
<attribute name="msdyn_systemstatus" />
<filter type="and" >
<condition attribute="msdyn_workorderid" operator="in" >
<value>24ab086a-2c61-e911-a968-000d3a4648ef</value>
<value>f2871258-2c61-e911-a968-000d3a4648ef</value>
<value>7277083a-2c61-e911-a968-000d3a4648ef</value>
<value>ff2ba362-2a61-e911-a968-000d3a4648ef</value>
<value>6e88794d-2261-e911-a968-000d3a4648ef</value>
<value>0e8fe571-2360-e911-a964-000d3a4647a5</value>
<value>ed51492e-2260-e911-a964-000d3a4647a5</value>
<value>7542cb07-2160-e911-a964-000d3a4647a5</value>
<value>6f42cb07-2160-e911-a964-000d3a4647a5</value>
<value>59bf33e0-9c5f-e911-a964-000d3a4647a5</value>
</condition>
<condition attribute="msdyn_systemstatus" operator="in" >
<value>1</value>
<value>2</value>
<value>3</value>
</condition>
</filter>
</entity>
</fetch>

Dynamics 365 8.x - Notification not triggering on Contract End Date

$
0
0

Hi,

I have set up a process to send an email notification one month before contract End Date but it is not triggering.

Here is the logic:

IF
   Contract Renewals.[Status] = Active
   Contract Renewals.[Contract End Date]
  --> Send an email

Otherwise
  Stop workflow as Cancelled

The result is always Cancelled



What am I missing in the logic since upgrading to Dynamics 8.2  on-premise from CRM 2011
This uses to work in CRM 2011

Thanks

A remote Operation is taking longer than expected - VS 2017 Azure Function Debug

$
0
0

Trying to debug Azure function on VS 2017/2015, Continuously showing below pop up when function runs for debug

"A remote Operation is taking longer than expected"

Please help on above error. 

Viewing all 46379 articles
Browse latest View live


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