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

editableCRM Grid

$
0
0

Hi All, 

I am using Editable Crm Grid in which my requirement is, on change of product unit, the unit value should appear in field. 

i wrote following script. 

function setPricePerUnitbase() {
var productId = null;
var Uomid = null;
var CurrencyId = null;
var editedrow = AbleBridge.DataGrid.GetEditRows()[0].RowIndex;
var rowIndex = AbleBridge.DataGrid.GetRowData()[editedrow];
var isfound = false;

try { productId = rowIndex.ProductId.Id } catch (ex) { productId = null; }
try { CurrencyId = rowIndex.TransactionCurrencyId.Id ; } catch (ex) { TransactionCurrencyId = null; }
try { Uomid = rowIndex.UoMId.Id; } catch (ex) { Uomid = null; }

//If existing product is selected then set productId to the GUID of existing product.
debugger;
if (productId !== null && Uomid != null) {
var req = new XMLHttpRequest();
var url = Xrm.Page.context.getClientUrl() + "/XRMServices/2011/OrganizationData.svc/ProductSet(guid'" + productId + "')?$select=product_price_levels/Amount,product_price_levels/TransactionCurrencyId,product_price_levels/UoMId&$expand=transactioncurrency_product,product_price_levels&$filter=transactioncurrency_product/ TransactionCurrencyId ne null ";
req.open("GET", url, true);
req.setRequestHeader("Accept", "application/json");
req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
req.onreadystatechange = function () {
if (req.readyState == 4) {
var data = JSON.parse(req.responseText);
var values = new Array();
values = data.d.product_price_levels.results;
debugger;
values.forEach(function (item, index) {
if (item.TransactionCurrencyId.Id == CurrencyId && item.UoMId.Id == Uomid) {
AbleBridge.DataGrid.SetFieldValue('PricePerUnit', item.Amount.Value, rowIndex);
isfound = true;
}
})
if (isfound == false) {
alert("The Unit Price Does Not Exist for this unit");
AbleBridge.DataGrid.SetFieldValue('PricePerUnit', null, rowIndex);
}

}
};
req.send(null);
}
};

the issue is, after changing the product unit from column, the row index is pulling same old record unit, not the new one which i selected. The same script works when i add new product, with rowindex as insert NewrowIndex


How to edit the Time Entry fields in Project Service Automation?

$
0
0

Is it somehow possible to edit and pretty much completely customize the Time Entry fields in PSA? There might also be a custom entity from which we may need to bring data to the Time Entry form. How should I approach this?

Thanks in advance!

Hide search bar in a view

$
0
0

When a view gets added to a dashboard, it displays along with a search bar. How to hide that search bar in a view in dashboard.

An unexpected error ocurred while executing an asyncoperation of type 10 for organization

$
0
0

I'm facing the following error after migrating from Dynamics 2013 to 365 on premise. No workflows are firing because of the following or similar error relating to An unexpected error ocurred while executing an asyncoperation of type 10 for organization bfa0a374-d7f2-e311-80c7-00155d500103. Exception: Microsoft.Crm.CrmInvalidRecurrenceRuleException: Each rule part must be a name-value pair separated by '='. Actual number of fragments: 1.  The Async server is on a backend server and all error are in the event log . The type number varies also

Can anybody help or give me some advice please.

Thanks in advance

Report filtering by ssrs with no default values

$
0
0

When I set the custom filters in the ssrs to have no default values, the filters are not editable. Only the first filter is editable.

Only after choosing value in the first filter should the next filter become editable. 

Please Help!!!!

Thanks a lot. 

The remote server returned an error: (415) Cannot process the message because the content type 'application/json' was not the expected type 'text/xml; charset=utf-8'..

$
0
0

Hello Everyone,
                the following error occured while calling a wcf webservice below is my code,

var webClient = new WebClient();
webClient.Headers[HttpRequestHeader.ContentType] = "application/json";
var serviceUrl = "10.20.10.10/.../ProcedureExecuterBatch.svc";

// upload the data using Post mehtod
string response = webClient.UploadString(serviceUrl, memoryStream.ToString());



any help would be appriaciated ,  thanks in advance.

Dynamics CRM to D365 Licence Transition (On-Premise)

$
0
0

Hello,

Can any one guide me on below scenario 

Customer is having Dynamics crm 2016 on-premise (Professional & Basic licence)

Customer wants to update it to Dynamics 365 on premise. In D365 licencing structure is different.

Please guide how licence transition can be worked out in this scenario.

Thank you

Rutul

Increment value by 1 every day a field is a particular value

$
0
0

We want to record how many days a record has been a particular status. E.g 'Available'. I've tried using a workflow to increment the value by 1 but we don't know how long records are going to be available so I need the workflow to loop itself somehow. Is this something that can be done?

Thanks,

Ciaran 


Moving from CRM Testing to Development

$
0
0

Hi,

I have been in the CRM testing from past 2 years and not sure of development things. Can anyone guide me how could i learn CRM development in short period of time? And what are the things to to get into CRM development.

Thanks in Advance :)

Anita

Debugging Plug In with Visual Studio 2015 from CRM OnLine doesn t start ?

$
0
0

Actually I have attached the process from  2016 CRM PluginRegistration to Visual Studio 2015;

the process has attached but debug doesn t stop at the breakpoint whe the online action on line is firing!? 

customer care accelerator-when and why record gets inserted into UII_sessiontransfer? Can we stop this?

$
0
0

Hi All,

We have recently migrated to dynamic crm 2013. SQL server gives error like 'Query execution time of 10.4 seconds exceeded the threshold of 10 seconds.' If I look for query log, I understand that after almost every statement an update query runs for UII_sessiontransfer(either base or extension).

Anyone know reason behind it and how we can stop this?

Is it possible to use ??

$
0
0

Hello All Experts,

I need to know is it possible to use 

#if debug 

inside the plugin code to run in the debug mode.

if so then how??

 

Using CRM Fields in INCLUDEPICTURE in a CRM Word Template

$
0
0

I would like to embed a variable picture in a word template using the INCLUDEPICTURE function with a CRM field that contains the link to the picture location.

e.g. INCLUDEPICTURE "crm_field" \d  \* MERGEFORMAT 

However the CRM field does not get resolved and just ends up as text in the generated document.

I can do this with a MERGEFIELD but cannot seem to get this to work with a CRM field. Does anyone know if this is possible?

Azure ExpressRoute to upload Files/Folders to SharePoint Online

$
0
0

Has anyone used Azure ExpressRoute to upload/migrate documents (from local hard disk) to SharePoint online and then link to case records in CRM? 

I am not familiar with ExpressRoute but sounds like files can be uploaded to Azure and then move to SharePoint

Any suggestions, examples are appreciated.

Thanks 

Cannot update "task" entity via organization service?

$
0
0

I am trying to update a task via the organization service as per below:

Entity Task = new Entity("task");
Task.Id = TaskID;
EntityReference AssociatedContact = new EntityReference("contact", ContactID);
Task.Attributes["associatedcontact"] = AssociatedContact;
IOrganizationService service = serviceProxy(OrgName);
service.Update(Task);

However I get this error back:

ActivityPointer With Id = f0a22cf6-f745-e711-80e2-005056ba77b6 Does Not Exist

I can update the task via Dynamics CRM web interface fine, why would the above occur via the API?


How to get Regarding field of out look email tracked in ms crm

$
0
0

i want to retrieve regarding field in my custom Outlook Add-IN.

please find below screen shot for more information :

How to add the Family Member Details in Contact Entity

$
0
0

Hi All,

I Have a Contact Entity.In the Contact Entity I want to add the Family Member Details.If I Open One contact Record it Will Show the Contact Name and the Relative Details and after sometime i want to add the Family Member also.How to do the Process Plz tell me??

Assign multiple records using advanced find - Cases?

$
0
0

Button "Assign" is not available in search-result from Advanced Find?

When using a system-view or personal view, it is possible to mark and assign multiple cases. My client also needs to find given cases using Advanced Find, and then assign them.

Button is available i CRM2011 in the search result in Advanced Find - but no longer in CRM 2016? Any ideas/suggestions? 

Kind regards,

Dinna Kias

customize sitemap based on security roles

$
0
0

Hi, can we customize sitemap based on security roles? different roles can see different tabs.

multiple forms for case management

$
0
0

Hi, we can have multiple forms based on security for cases? different user can see different layout.

Viewing all 79901 articles
Browse latest View live


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