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

CRM 2013 Acces denied To Execute Plugin

$
0
0

Hi all member,

I created a plugin in CRM 2013.
But only the Administrator can execute this plugin.
If other users execute the plugin i have Error message : Acces Denied.

<Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 26b87e83-bda0-e411-9fd9-001a4b4efa71, OwnerId: 0257ea20-d76f-e411-841b-001a4b4efa71, OwnerIdType: 8 and CallingUser: 6563d630-6b87-e411-8969-001a4b4efa71. ObjectTypeCode: 10017, objectBusinessUnitId: d6dc5d15-cf9c-e411-a83c-001a4b4efa71, AccessRights: WriteAccess </Message>

If someone knows how to give permission for the user in secutrity roles to execute the plugin.

 

Regards,


How to get country/region code prefix from user or from system settings?

$
0
0
Set the default country/region code
 Enable country/region code prefixing
Country/Region Code Prefix

Hello,

I need to get the default Country/Region code prefix in javascript. But I am not able to get this field anywhere. Could someone let me know how can I achieve this?

Thank you,

Form properties, parameters

$
0
0

How to use the parameters properties of form, including with types.

I am new for this so any suggestion or feedback please give an example with basis to advance level....

              

Save image of product from CRMon PC

$
0
0

       

I take this FETCH but the result does not contain the field enityimage, ...because

     string imageUrlQuery = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>" +
                                     "<entity name='product'>" +
                                    "<attribute name='name'/>" +
                                   "<attribute name='entityimage'/>" +

                                     "</entity>" +
                                     "</fetch>";
                foreach (var single_image in xrm.RetrieveMultiple(new FetchExpression(imageUrlQuery)).Entities)
                {


                    byte[] imageBytes = (byte[])(single_image.Attributes["entityimage"]);
                    MemoryStream ms = new MemoryStream(imageBytes);
                    Image img = Image.FromStream(ms);

                    img.Save("url");


                }

                                                                    

Deleting Users after 6 months

$
0
0

Is there a way of deleting a user in Dynamics 2015? I know you can disable them, but due to the UK Data Protection Act, I must delete the user after 6 months, disabling the user is not enough.

crm 2011 check all order products before fulfill and order

$
0
0

Hi all, I need to add validation check before fulfill order.  we have customized field call product status on order products form. I need to check all order products' status set to billed or failed in provisioning before sales staff complete (fulfill order). if all products not in above two status stop fulfill order and display msg to user.

What is the best way to achieve this.  java script or plugin ?

I have seen some post says can add enable rule to order ribbon button  , any help on how to do this? i am not sure whether i can read all dependencies using java script?

your help will be appreciated

 

 

Pick Queue item

$
0
0

Is it possible to add a "Pick" "Release" button on the dashboard?

I have a dashboard with Queue's and Cases, it would be ideal, to pick the queueitems from the dashboard.

Programmatically approve User email address in CRM 2013

$
0
0

Hi all,

I was wondering if there was a way to approve a User's email address without having to use the ribbon button to do so.

Ideally it would be called by an external web service that connects to CRM, but a plugin would also do the trick.

Thanks! :)


Calculated Field BUG/Error

$
0
0

Hello Guys,
I am now using the crm online version 2015, and now i am trying to deploy a new field to use in a discount operation.
My new field it is in Product Quote entity, and its name is "new_descontocalculado".
Data type is currency, type field, calculated.
So the problem is, when i enter to edit the formula, clicking in " + Add Condition", nothing happen.
i did try with different web-browsers and this behavior still persist.
I can only addition Action Commands, and when i click to save and quit or save, i get e error handle script "dlg_scriptError.aspx" who ask me to send a report to microsoft.

There is some fix for it ?

Thanks.

Dynamic CRM 2013 Installation issue

$
0
0

Hello all i get this error during installation. Please help me. Its a clean installation. 

Displaying image.png

workflow error after update.

$
0
0

Guys, i have here a workflow process who was in a draft stage before the crm be updated for 2015.
When i try any action like, add a stage, save, and modify a email. I get a Unexpected Error.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Unable to find metadata information for attribute !Process_Custom_Attribute_URL_Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>Unable to find metadata information for attribute !Process_Custom_Attribute_URL_</Message>
  <Timestamp>2015-01-23T12:50:04.4984534Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

Any ideias to resolve This ?

Thanks.

Change invoice ID increment numbering for different business units

$
0
0

Hello everyone,

I have following requirement and i wonder if any implementation regarding that is possible:

I got 1 root business unit A with two child business units under the root (B and C).

I want to have incremental numbering on invoices, orders and cases which is completely seperated in the 2 business units B and C. 

E.g. one user in unit B creates invoices with ID "INVB-0001-RND1", "INVB-0002-RND2"

and

user of the other business unit C creates invoices and has his own cycle of incrementing IDs in the invoices of that business unit, e.g. "INVC-0001-RND1", "INVC-0002-RND2".

If that is not possible with the out-of-the box functionality (which I assume), is it possible via custom plugins?

As fas as I know, the invoiceid field in the invoice entity is readonly...

My questions is regarding crm 2011, 2013 and 2015

Thanks for any help

Regards

John

Mandatory Sub-grids and set up Splash screen ?

$
0
0

Hello guys,

I have 2 questions.

  1. It is possible to set sub-grid controls as mandatory, I mean, that a certain control has at least 1 record on the list?
  2. It is possible to set up a default splash screens for a group of CRM users?

Thanks to all!

Regards,

Raúl

search lead based on a phone no.

$
0
0

Hi

How to search a lead based on a phone no.

I am able to search by company name, topic & name but when I search it by email or phone, there are no results. Although I know lead exists with that no. 

The set regarding field being cleared.

$
0
0

Hello,

I have a workflow on the case entity. This workflow when triggered sends out an email and attaches itself as an activity to the case in question by simply having the set regarding field set to: (Case(Case)}.

I run the on-demand workflow against a case and it works as expected and the email appears on the list of activities against the case in the main summary screen but after a certain amount of time it disappears from the case! Sometimes, it is after two or three minutes and sometimes it is gone after a couple of hours.

The strange thing is that it still exists if you look at all email activities from the menu in the ribbon. I can see why it is no longer against the case, this is because something has decided to delete the 'regarding' field out. But I cannot figure out what is clearing this. I cannot determine if it is another random workflow etc. I tried turning on verbose logging but I feel this is impossible to capture as it is not an error and can happen after different lengths of times.

Any help would be greatly appreciated.


workflow wizard issue

$
0
0

if(value > 10)

create a custom activity 1 (create record .... select custom activity in the wizard)

create a custom activity 2 (,,)

     if (value > 20) 

     create a custom activity 3 (,,)

     end if

end if

Above is my workflow logic algorithim. I am able to create a custom activity 1 and custom activity 2 using wizard. When i try to create the workflow activity 3 system is not allowing.

I am able to set the inner if condition of the custom activity3. once step is added system not showing any options to add "create record". its disabling all the options.

Is there any limitation on inners/nested if's?

Please share your thoughts if any faced similar kind of issue?

Thanks in advance.

columns on search result

$
0
0

Can I add Columns on a search result grid?

How to do it?

activity feed configuration and activity feed rules not visible on crm 2013 SP1 UR1

$
0
0

Hi,

I have MS CRM 2013 SP1 UR1 but I caanot find activity feed configuration and activity feed rules.

I checked sitemap its present over there but its not visible.What can be an issue?

Is it possible to retrieve data from the audit history into a record via a workflow?

$
0
0

Hi all:

Here is my situation:  an older workflow pulled the email of various Accounts into (and over-wrote) the email address of the associated Contacts.  Obviously, the audit history shows the prior email, but I have about 2000 affected Contacts.  Is there a way to find the value from the audit history and re-populate the Contacts?

Error when closing case - this case has already been resolved.

$
0
0

We have an issue that is occurring when we close some Cases.  The Case, although it is active, gives an error "This case has already been resolved. Close and reopen the case record to see the updates." when we try to resolve it.  After the error, the Case is successfully closed.  We close about 100 cases per day and this occurs on a small percentage of them.

I cannot reproduce the error on demand in production.  However, I can reproduce the error in a backup of our production environment.  For example, if the error occurred on a Case in production, then I can reproduce the error on the same Case in a test environment containing a backup database of our production.  When I reproduce the error in test, I am the only user in the environment and all workflows are turned off.

This seems to have started several weeks ago when we applied the CRM 2013 SP1 Product Updates.  We are on-premise.  Has anyone else encountered this issue?

Viewing all 82002 articles
Browse latest View live


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