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

Opportunities: Stop Info leak? Re different Business units, Sales Team, Stakeholders permissions

$
0
0

Hi All,

We are rolling out CRM and have come across a small, but critical leak of Info when creating Opportunities and sharing info between different Business Units.

I hope the below makes sense... and thank you for any help!

I think this has to do with security roles ... I think...

 

We have two Business Units (BUs). Call one Corp, and the other Trader 

Both of these BUs need to be kept completely separate. They operate in their own worlds with their own clients, details, info etc. Users in one team must never see what is going on CRM-wise in the other team for Chinese Walls/compliance/regulator reasons etc.

So far this is working perfectly - except when you start sharing some into or linking users into something the other BU has made.

 

Scenario/Issue

Corp make a CRM OOTB Opportunity. Initially, only the Corp Team users can see this Opportunity and all details about it [good].

There are instances though where a Corp user intentionally make a Connection and adds a Trader User to the 'Sales Team' of the Opportunity. All OOTB functionality. This, intentionally so, lets that Trader User, and only that Trader User, see the Corp Opportunity in addition to the Corp Team. So far all good and as expected/desired.

 

Now though, as a flow effect, adding that Trader user to the 'Sales Team' of this Corp owner/made Opportunity allows this specific Trader User to now be able to add a 'Stakeholder' connection (This potential Stakeholder connection they can make is to any Client created/owned by their BU)
We want to stop this as:

a) we want only the Corp team to ever be able to control/add/edit the Stakeholders of the Opportunity they have made/own

b) a flow on problem is that when a connection is made to this Trader client any user in the Trader BU (whether part of the Sales Team of the orig Corp opportunity or not) can now go to that Client Record -> Connections view see a link to that Corp Opportunity Connection in there. Whilst they cannot click on the Opportunity to go to it to see details, as access is denied, the fact they can see the Opportunity link/name in the first place is already too much info! If a Trader user is not explicitly added to the Sale Team of the opportunity that is Owner by Corp, they must NOT know the existence of the Corp Opportunities.

 

The thing I think we need to work out is:

How do we allow a Corp User to add a Trader User to a Corporate Opportunity sales team, but BLOCK/STOP that Trader User being able to add a client from their Insto BU as a Stakeholder connection (and therefore never allow any chance of leaking info re the Corporate Opportunity to other users in their BU via Connections?

 

Currently the only way I know to do this is to disable the security role that allows all Trader Users from creating any connection relationships.

This is great for this specific instance re Corp-made opportunities, but bad overall because then Trader users lose the ability to make just OOTB general connections for their own BU like lawyers and accountants etc. and miss out on the powerful OOTB CRM feature re this.

 

Hope that makes sense…

 

Corp need to be able to bring other users outside their BU into an Opportunity, so these special external users can see info, add activities etc. to the Opportunity, but these special external users must not be able to compromise the Corp Opportunity by sharing the existence of the opportunity with other users in their BU.

Thank you for your time and help


How to Update the two optionset Values On Change

$
0
0

Dear Experts,

I have Travel Plan Entity In Travel Plan Entity i Have pcl_travelplanstage two optionset attribute it contains planed and actual values

and am having 1:N Relationship with appointment Here also am having pcl_travelplanstage two optionset attribute 

now i want to update the value from Travel plan entity to Appointment Entity

Thanks and Regards

Shankar 

Understand the behavior of many to many relationship

$
0
0

Hi all

I make many to many relationship as shown below:

I am unable to find this display area. I go to the

Step 01:

Step 02:

Not able see any display are on this page.

Where should I find this display area?

Thank You

Set Date to today's date only first time the form is loaded

$
0
0

Hi everyone!

I would like to set a date field to today's date only when the form is loaded the first time, so that when i open again the form to not change the date with the new today's date.

This will have to be done with javascript but how? Created on date in only available after the item is created. I want to set default date to today and also to be changeable , so that the user will change it. 

One idea is to have an index to increment it when form is loaded only when index is 1 will run, the first time. Not sure if there is a more optimized way

Any ideas?

Quote Product Entity (CRM 2015 - OnPrem)

$
0
0

Hi,

Could anybody tell me, why is there no Display Name for the Primary Field in the Quote Product Entity?

Thanks

How to debug Javascript (Custom) in CRM 2015 using Browser

$
0
0

Hi there,

I have tried Debugging using IE 11 Developer Tools as well as Chrome. I can see my Javascript Code only under Dynamic Scripts and when I open it and add a breakpoint it is never reached. I have googled a lot but only found Infos related to CRM 2011 which are not working for CRM 2015 and new browser versions.

I have also tried adding following statment in the initialize code: Xrm.Utility.alertDialog("Inside alert statement"); 

it just Displays message box but donot break at that Point.

could anybody please tell me how to debug Javascript custom  in CRM 2015 using Browser? Thanks in advance!

Portal Search in Knowledge articles not working (or not setup?)

$
0
0

Hello,

I am glad to find this forum :) I have been working ont this all this week and desperately need some help :o), now here is the problem :

I’ve deployed knowledge articles in Dynamics 365

I’ve published some articles in several languages, I can read them on the portal

When I try searching the articles using the search bar, no article is found.

The search looks to be working on the website itself (searching for "contact" will return the contact us page among results.

 

Have someone already faced this ?

 

Thanks for the support !

 

 

Pierre-Olivier

CRM Assessment Questionaire

$
0
0

Hi, Any of you have a list of typical questions and key factors to keep in mind when doing an assessment on the current Microsoft Dynamics CRM implementation for a client? Mainly focusing on the application architecture, capability, scalability, flexibility, performance, reliability, accuracy and usability. Your guidance would be greatly appreciated.  Hoping for a speedy response as it is quite urgent. Thank You.


Adding notes to appointments

$
0
0

Hi! I'm trying to figure out how to add new notes to appointments in MSDYN?

I'vev added the notes web part, and notes are actiated for appointments, but I can only see existing ones and no way to add new ones.

I've tried with both scheduled and completed appointments, but it doesn't work with either of them.

how to set the Age Range according to the Age value entered by the user JavaScript

$
0
0

I'm using following function to set the age range but it's giving me an error..

//get the value of integer age//
//set the value of age range//
//if age is between 18 & 25 then choose option 1//
//if age is between 26 & 35 then choose option 2//
//if age is between 36 & 55 then choose option 3//
//if age is between 56 & 65 then choose option 4//


function SetAgeRange()
{
var Age= Xrm.Page.getAttribute("new_age").getValue ();
if (Age>=18 && Age<=25)
{
Xrm.Page.getAttribute("new_age").setValue("100,000,000");
}
else if ( Age>=26 && Age<= 35)
{
Xrm.Page.getAttribute("new_age").setValue("100,000,001");
}
else if (Age>=36 && Age<=55)
{
Xrm.Page.getAttribute("new_age").setValue("100,000,002");
}

else if (Age>=56 && Age<= 65)
{
Xrm.Page.getAttribute("new_age").setValue("100,000,003");
}

var AgeRange=Xrm.Page.getAttribute("new_age").setValue();
}

Debugging step in custom workflow

$
0
0

I have a custom workflow which has a step (this step consists of C# code that perform some updates on entities). When certain conditions are met, this custom workflow will trigger &  call the step. Would like to ask how can I debug this step's c# code?

Any clues? Thanks.

Total Tax Field

$
0
0

Could you please explain how you edit the total tax field within Dynamics CRM Online 2016.

I need to include 20% VAT onto all our products. 

The field appears to be on a locked format and security permission. 

Outlook Add-in issues & diagnostics tool

$
0
0

Hi,

We are currently using the outlook add-in for a few months now. The good thing is it's integrated with outlook, but the bad thing is it's very unreliable. These are teh following issues that occur with all users on a weekly basis both on 32bit and 64bit office installations:

1) The add-in icon dissapears in map view (at the bottom).

2) Tracking or set regarding can no longer be done in the calendar on the overview (right click), only when in the calendar item itself through the ribbon

3) Track & set regarding dissapear from the ribbon

4) ... and on and on and on ...

If you run the diagnostics tool, you can easily fix all this by going to the advanced tab, deleting files and re-activating the plugin. Does someone know whether this can be done through command line or something so we can just have this done at startup?

Regards,

Christopher

Opportunity read right across related account's owner

$
0
0

Hi,

I have the following configuration:

SalesUser1 - member of SalesUnit1 - in SalesRole

SalesUser2 - member of SalesUnit2 - in SalesRole

SalesRole gives read access on BusinessUnit level on Opportunity and read access on Organization level on Account.

We have an Account1 owned by SalesUser1.

SalesUser2 has an Opporunity2 related to Account1.

Now SalesUser1 can see Opportunity2, but this opp is owned by SalesUser2 who is in a different business unit and the read access is only granted within the same business unit. There is no share on this opp.

SalesUser1 can not see any other opps of SalesUser2.

I think this read right is come through the Account1 record which is related to Opportunity2 and owned by SalesUser1.

I checked the Case entity's security and it works in the same way. (Maybe some other entities too.)

BUT, my custom entity does not work in this way.

I would like to use this functionality on my custom entity as well, but I could not find any documentation about it.

How this security mechanism works?

How can I turn it on for a custom entity?

How can I turn it off for an OOB entity?

Regards,

Szabolcs

How to set of the Job Title, If Job Title is other, enable the field Other job title and set it as mandatory, else disable it on the form (i.e. set it as Read Only)

$
0
0

Hey I have two fields

1)  Job title : Option set that include an option"others"

2) Other Job title : Single Text 

when the user choose others, the "other job title" should be set as mandatory otherwise if he chooses one of the options it should be read only.

I used the following code but it's giving me an error.. Any suggestion?

//if the user chooses from the option other job title
//enable other job title field
//make other job title mandatory
//else if the user chooses one of the options make other job title read only

function EnableOtherJobTitle()

var jobtitle= Xrm.Page.getAttribute("new_jobtitle").getSelectedOption().value;

alert(jobtitle);

if (jobtitle ==100,000,004)
{
Xrm.Page.getAttribute("new_otherjob").setRequiredLevel("required");
}
else
{
Xrm.Page.ui.controls.get("new_otherjob").setDisabled(true);
}
}


how to set the Name of activity as “Customer Name – Purpose – Status” Using JavaScript

$
0
0

I have an invitation activity and I want when I save it to appear instead of the name as the "customer name-purpose-status"

I used this code but its not working ..

function setname()
{
var customername=Xrm.Page.getAttribute("new_customer").getValue();
var purpose=Xrm.Page.getAttribute("new_purpose").getValue();
var status=Xrm.Page.getAttribute("new_status").getValue();
var activityname=Xrm.Page.getAttribute("new_customer","new_purpose","new_status").getValue();

Xrm.Page.getAttribute("activityname").setValue("Customer Name – Purpose – Status");
}

Is there a way to query/export the audit logs?

$
0
0

hello, we have on prem dynamics crm 2016, and wondering if there may be a way to query and export the audit logs which are produced in Dynamics?

Specifically, is there a way so show changes such as business trading status field across the business entity? The outputs we would like to see are business name, payer ref no, listing the old value with new value, actual date of change and who changed it.

 

So far, I can only find this information out by opening up individual business records and using the audit history on a one by one basis.

 

It would be really useful for us to be able to find out when a trading status was changed for one of our business e.g. how many companies have ceased trading this month, and/or how many new business created this month are there.

Thanks all.

Not able to get users of related Business Units in BU Hierarchy.

$
0
0

Hi All,

I want to get users of related BU with Advance Find query.

  

Suppose i'm having :

1. Root BU.

2. Retail and Sales BU belongs to  Root BU

3. East, West, North and South belongs to Retails BU.

I want to write a query in Advance find where i will be able to get users of current BU and all the users of other BU which belongs to current BU.

For Example : if Retail BU is my current BU then i need :

1. users from current BU (User 2)

2. users from related BU (User 3, 4, 5, 6 ) (please see the above image)

I tried to write a query in Advance find but i'm able to get the users of current BU only.

Please suggest the solution to get the users from related BU hierarchy.

Thanks in advance.

Jayesh

Quote Product

$
0
0

The 'Areas that display this entity' are greyed out on my Dynamics CRM Online instance. 

I read that you can edit this in the site map editor, however I am unsure on how to do this?

Hide a Ribbon Based on Security Roles - CRM 2016 Online

$
0
0

Hi,

I want to hide and show a ribbon based on security roles, could you please guide me.

If the User Contains and Role "A" the Ribbon should be visible if doesn't it should  be hidden 

Viewing all 46379 articles
Browse latest View live


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