Quantcast
Channel: CRM Development forum
Viewing all 8223 articles
Browse latest View live

API for Year End program for Accounting program - Dynamics AX

$
0
0

Hi !

We are a Norwegian Year End program Maestro Soft AS who would like to make an integrasjon from Dynamics to our program. We have some customers who are using your program, it would make it easier for them to get the numbers with an integrasjon. Today there is an integrasjon with 10 other accountingprograms.

Is this possible for us to do this and what informasjon do we need? 

Best regards

Christina Stabe


Any Business Card Scanner compatible with the ms crm 2011 online version?

$
0
0

I am looking for a business card scanner compatible with the microsoft crm 2011 online version . something which will scan and imports the data to the online record . Anybody like to suggest one which they are successfully using it. Would appreciate the help

Thanks

Pearse


pf

How to show autocomplete in HTML Webresource TextField

$
0
0

Hi,

I've created one HTML page which consist of a table. In that table cells will be created dynamically. Inside the cells there will be Textfield, dropdown menus will be present.

I'll insert this webresource inside a CRM custom entity.

My requirement is, In the textfields which is created inside the table should trigger autocomplete. Autocomplete suggestions will have to be retrieved from another entity records.

I hope I'm clear. How to achieve this?

Thanks!!

Get failure after value of SLA item applied

$
0
0
I wanted to get failure after time from SLA item applied to Case. When SLA applies to case, it creates SLA KPI Instance record which shows case id as regarding, SLA Id,  failure time and warning time. Failure time is end date when SLA is expiring after calculating business hours and holidays. I wanted to know which SLA item is applied for the calculation. SLA KPI instance does not contains look up to SLA item. Case contains look up to SLA only.

How to create lookup control in a custom html page in crm 2011

$
0
0

Hi Guys,

I need to create a new html page as Close as Lost(CRM 2011) in opportunity, in that i have to create a lookup field also. Is there any link or suggestion that help us to create CRM custom html page.


Arun Kumar G

JQuery UI dialog not working in CRM 2016 ARA(Turbo Forms)

$
0
0

HI All

JQuery UI dialog not working in CRM 2016 ARA(Turbo Forms).Any alternative for this?

Thanks in Advance

Add Resource Group to Service

$
0
0

Hello,

I would like to add a resource group to a service instead of the resources within the group, which my code seems to be doing

My resource spec looks like this

var resourceSpec = new ResourceSpec {
    BusinessUnitId = new EntityReference(BusinessUnit.EntityLogicalName, businessUnitId),
    ObjectiveExpression = @"<Expression><Body>udf ""Random""(factory,resource,appointment,request,leftoffset,rightoffset)</Body><Parameters><Parameter name=""factory"" /><Parameter name=""resource"" /><Parameter name=""appointment"" /><Parameter name=""request"" /><Parameter name=""leftoffset"" /><Parameter name=""rightoffset"" /></Parameters><Properties EvaluationInterval=""P0D"" evaluationcost=""0"" /></Expression>",
    RequiredCount = 1,
    Name = "Selection Rule",
    GroupObjectId = groupId
};

and my service looks like this

var service = new Service {
    Name = name,
    Duration = duration,
    InitialStatusCode = new OptionSetValue(1),
    Granularity = $"FREQ=MINUTELY;INTERVAL={duration};",
    ResourceSpecId = new EntityReference(ResourceSpec.EntityLogicalName, resourceSpecId)
};

All of my code is straight from the plumber van example.

Any help would be really appreciated.

Mark

Passing regardingobjectidtype to Xrm.Utility.openEntityForm

$
0
0

I've been having troubles sending the typename to the openEntity form. Is this a problem with my system or is there another way I should be setting the typename?

Here is the code I am trying to use.

//set the parameters to pass to the new form
var Regarding = Xrm.Page.getAttribute("regardingobjectid").getValue();
var parameters = {};
parameters["regardingobjectid"] = Regarding[0].id;
parameters["regardingobjectidname"] = Regarding[0].name;
parameters["regardingobjectidtype"] = Regarding[0].typename;

//Open the new form
Xrm.Utility.openEntityForm("appointment",null,parameters);

I've been able to send owneridtype and customeridtype without a problem, but regardingobjecttype does not seem to be working for me.

Thanks!


CRM Dynamics - Organization Service detailed error

$
0
0

There,

I am using trial version of the MS - Dynamics CRM - 2016 trial version, and accessing organization web Service, many times I am getting an error saying me

"The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."

This error dont convey me an information which I can dig and fix or understand the problem, I want specialize error message.

In short, no time I expect generalize error what should I do.

Thanks and Regards,

Rk_Hirpara

I needs to display system Alert Message (yellow high lighted ) from a plugin if any failure is happened

$
0
0

I needs to display system Alert Message (yellow high lighted ) from a plugin if any failure is happened. Normally plugin will throws error message from the plugins. But i don't wants to display error message.

         I have to display system alert from Plugin. I am using CRM 2016 online version. Is there any supported way to do this?

how to show the business process error alert message from custom workflow in crm 2015?

$
0
0
how to show the business process error alert message from custom workflow in crm 2015?

CRM 2013 Increase optionset dropdown height on quickview form

$
0
0

Hi All,

Does anyone know a way to increase the dropdown height of option sets on a quick view form? There is loads of space on our form, but someone in the product design team seemed to think that one option and tiny scroll bars would be sufficient.

Here is a screenshot

As you can see, there is plenty of room to display more options, however the OOB dropdown only shows 1 and then adds scroll bars. :-(

regards

Chris

(solved) CRM SDK undefined when using JScript

$
0
0

Hello I want to initialize a New Entity Instance From Another Entity Instance in Microsoft Dynamics CRM 2015 Using Using Jscript InitializeFromRequest The error here:

if (typeof (SDK) == "undefined")    {SDK = {__namespace: true}; }

It says that SDK is not defined.

I've added the libraries of SDK.SOAP.JS And JQUERYV1.12.4. to form in form properties . First jquery.js then soap.js and finally my functions. I am running my function from a button on the ribbon.

Ion.

Ok i solved, i just download the libraries from here and works! https://msdn.microsoft.com/en-us/library/gg594428(v=crm.7).aspx

Workfllow process error in crm online 2016

$
0
0

Hi,

I am having strange error. I have a process for custom entity. this process is independent of custom entity. 

my custom entity has a form, when I submit that form, email goes to specific person. 

What I want is, person can just reply to that email, and form can be approved or reject.

My workflow is detecting that, email is received. and if condition is satisfied, it does update. It is checking condition but on update , it is giving validation error. Says, length of custom attribute of custom entity exceeds maximum limit of 200.

What I tried, as follows.

There are three fields which gets updated on email received. single line of texts. 

1) I changed the max length of them. but whatever I change, I get same error but last number of limit changes.

2) since this is to do with email entity, I searched on net, changed email entity's message id attribute.updated length to max 450. as it says max length cant be more than 900 bytes on sql server.

still my error is not getting resolved.

my email contains just two words or one word. "Approved" or  "Rejected" "comments". (No double quotes in email body)

this field which is giving error is to be get from email body, first or second line of text in email.

ANy help is much much appreciated.

Kind Regards,

Ashay Shingornikar

CRM Mobile Forms

$
0
0

Hello All,
I want to use crm mobile application.Can anyone tell me where to write  the javascript for the mobile forms.
I have added the javascript code in the main we  form's js but it is not being called when opening the mobile form from browser.Does the js only work when opened from a crm mobile app?

Thanks in Advance.


Javascript Button Individual Order

$
0
0

Hello,

I would like to create a button on an individual order or contact page, which when clicked triggers some javascript that can read data from that order/contact. How do I accomplish this? What tools are need for this?

Thanks

Opening an entity view with top navigation bar, with a URL

$
0
0

When I open Active Contacts view using following URL it opens the Dynamics CRM page with Active Contacts view but without top navigation bar. Is there any way to restore the nav bar using this url?

http://myorg.crm.dynamics.com/main.aspx?etn=contact&pagetype=entitylist&viewid={00000000-0000-0000-00AA-000010001004}&viewtype=1039


Update:

I even tried with navbar=on and cmdbar=true:

https://myorg.crm.dynamics.com/main.aspx?etn=contact&pagetype=entitylist&viewid={00000000-0000-0000-00AA-000010001004}&viewtype=1039&navbar=on&cmdbar=true


See the image below (no navigation bar shown):


blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk




How to read from csv file from an attachment in CRM

$
0
0

Hi,

Is there any example on how to read a csv file from annotation entity?

Difference between CRM Mobile forms accessed thorugh browser and application

$
0
0

Hello All,

I want to know what is the difference between crm mobile forms accessed through browser and application in all terms.

Thanks in advance.

CRM2013. C#. Activate, Update and Deactivate case.

$
0
0

Hi.

Have a plugin which starts on Email PreCreate. Plugin must activate the email regarding Case, update some field in the Case and deactivate the Case back.

Here is the plugin code:

IPluginExecutionContext context = localContext.PluginExecutionContext;
IOrganizationService service = localContext.OrganizationService;

if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity)
{
    Entity entity = (Entity)context.InputParameters["Target"];

    try
    {
        var regardingCaseId = ((EntityReference)entity.Attributes["regardingobjectid"]).Id;
        Entity regardingCase = service.Retrieve("incident", regardingCaseId, new ColumnSet(true));
        int status = ((OptionSetValue)regardingCase.Attributes["statuscode"]).Value;
        if (status == 5)
        {

            // Activate case
            SetStateRequest setStateRequest = new SetStateRequest()
            {
                EntityMoniker = new EntityReference
                {
                    Id = regardingCaseId,
                    LogicalName = "incident",
                },
                State = new OptionSetValue(0),
                Status = new OptionSetValue(1)
            };
            service.Execute(setStateRequest);

            // UPDATE Add some changes
            regardingCase["description"] = "xxxxx";
            service.Update(regardingCase);

            // Deactivate case
            setStateRequest = new SetStateRequest()
            {
                EntityMoniker = new EntityReference
                {
                    Id = regardingCaseId,
                    LogicalName = "incident",
                },
                State = new OptionSetValue(1),
                Status = new OptionSetValue(5)
            };
            service.Execute(setStateRequest);
        }
    }
    catch
    {
        return;
    }
}

In result it throws error:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.Detail:<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"><ErrorCode>-2147220911</ErrorCode><ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /><Message>There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.</Message><Timestamp>2014-07-09T10:25:31.5511394Z</Timestamp><InnerFault i:nil="true" /><TraceText i:nil="true" /></OrganizationServiceFault>

But plugin completes fine and activate the case if I remove Update step and Deactivate step.

Why it does not work with update and deactivate steps? And how to fix it?

Thanks!



Viewing all 8223 articles
Browse latest View live


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