Updating a field from a different DAC - customization

I created a customization on the service order as shown below. When Mark for SO is active, CREATE SALES ORDER button appears. The button enable creation of a service management sales order.
The service management sales order is as follows;
How do I get the STATUS and ORDERNBR of service management sales order created to be displayed on Servce order screen on the Details Line on my custom fields i.e SOStatus(UsrSOStatus). also have another custom field as SONumber(UsrSONumber).

Related

Power BI and Role Based Security for 800 people

I created a role in Power BI desktop - filters the data using UserPrincipalName().
I go to Security in the Power BI Service and add a member to the role. Everything works great!
Now, I need to add another 799 members to this role. Isn't there an easier way? How do I make this work so that for any user that runs the report, the filter kicks in and the user sees all data related to them, without explicitly adding them to the role I defined?
Here's what I ended up doing:
User = CONCATENATEX(Responses, IF(Responses[Feedback For] = USERPRINCIPALNAME(), "This User", "Other User"))
I created a measure called User and added this measure as a filter - locked it and made it invisible.

How to provide permission to the user to access only one column in the created Microsoft Lists?

Am new to Microsoft Lists and trying to implement the library management system. Have prepared a list to show the book details using the 'From Excel' list. Need to restrict the permission based on the user role(admin, client).
For example, If a user needs to request a book, there might be a column to access for the user to send a request for the desired book. So that, an admin will get notified for the request and take action.
Similarly, from the list i created, i need to provide permission to the user to access only one column. The rest of the column can only be for view purposes.
Note: As i searched i found we can set permission like view, view, and edit, and stop sharing the list based on the roles of Members, Owners, and Visitors.
Could anyone please guide me on this?
Regards,
Vadivel
#Karthi,
It's not possible to configure column permission, the least permission is item-level. There is no column-level or view level permission.
Here are 2 possible solutions:
Make the target column read-only. Then develop another interface for the administrator to manage the data. For example, through SharePoint rest API, we can turn the column back to editable and post updates then immediately turn it to read-only.
Check Set List Column Read Only in SharePoint using PowerShell
How to update read only field
Hide the target column and make a calculated column then set its value equal to the target column. The user will only see those calculated columns, any updates on the target column will be reflected in calculated columns.
Check Make SharePoint Columns read-only without coding

Dynamics 365 hide New-Button in subgrid for activities

How can I hide the +NEW-Button in a subgrid of activities, when the parent records status is inactive? I tried already to hide this Button with RibbonWorkbench to see if hiding would generally work when I later implement a javascript hide-rule, but the +-Button is still visible. I tried to hide this button on the activitypointer as well as task entity but the +-Button is still visible.
Background: Customer should not be able to add new activities, when the paretn record's status is inactive.
I followed this tip How to unable create a new record button from sub grid but withou success.
Customer should not be able to add new activities, only view them
If you remove the create privilege for an entity in that user persona security role, then the Add New [+] ribbon button will be hidden automatically. That’s the right approach.

How to create a new Record (accounts) on behalf of another user using Dynamics connector

I am working on a logic app in Azure that uses the Microsoft Dynamics connector to create a new record; In my case a new account record in accounts.
The sequence is:
Add a new action
Choose Dynamics connector
Pick the "Create new record" action
Choose the Organisation Name
Choose Entitiy "Accounts"
Fill in the mandatory fields like Account Name, Address, Main Phone, etc.
Done
When I run the LG the account is created just fine, but for my user. However I want the accounts to created for the respective Sales Reps.
So, I added Fields _ownerid_type and _ownerid_value but that does not make a difference. Is there any other way how to hand over a user id, GUID, or so to make the new record be owner by a distinct user?
Here is my request in code view:
"Create_a_new_Account": {
"inputs": {
"body": {
"_ownerid_type": "systemusers",
"_ownerid_value": "91a58fc6-1ab8-e911-a98a-000d3a276633",
"address1_city": "Metropolis",
As far as I know, This is not possible, Reason been There is no provision running Logic Apps as PreOperation and we can set owner only during pre operation phase.
You will have to assign the record to user after record is created.
But if someone has more experience and has tried this then I can be wrong, But with my knowledge I would say it is not possible to set owner when creating record.

Using RLS with Analysis Service Live Connection in a PBIE "App Owns Data" scenario

I'm kind of new to PBI and I'm looking if it's the right tool for my case.
I would like to use Power BI Embedded in a web application for our customer (where they're logged in) which do not have any Power BI account/licence.
The database on which the reports are based are on-premise so we're would use Analysis Service Live Connection to access them.
Each customer should have his own report.
Is it possible to use RLS in that case?
Does that mean we've to create a role for each of them?
What username should be given in the EffectiveIdentity? Is it 'free text' that is used by PBI to get the username in the DAX?
If each customer will have his own report, then why do you need RLS at all? Just make the report to show what the user is supposed to see. Or you want to have a single report (or set of reports), which is shared between the users and they should see only their data? I will assume it is the later one.
I will start with the last question - the effective identity is not a "free text". It must be a valid user name, having rights to access the data, as specified in the documentation:
The effective identity that is provided for the username property must be a Windows user with permissions on the Analysis Services server.
The you can define RLS in your Analysis Service model, by adding a "users security" table, where you specify which rows should be visible to each user. Define relationships between this users security table and other tables in the model, and then let RLS to filter the data in the security table. The relationships with the rest of the model will apply cascade filtering on the data, so only relevant rows will be visible to the user. See Implement row-level security in an Analysis Services tabular model for example.
So the answer of your second question is no, you don't need a separate role for each user, because the filtering is based on the username and for every user it filters the same thing the same way.