JS Flashcards
Search Functionality
1) Quick Find - on the entity - fields defined in Find By
2) Advanced Search - Searchable property of the field if set to N will not show field on the Advanced find.
3) Categorized Search - 10 entities max , in the System settings. Fields defined in Quick Find view.
4) Relevance Search - across multiple entities , utilizing azure search functionality. enabled in power platform admin center . Settings -> Feature
Relevance Search is the preferred method for finding records as it searches more fields than the other methods and searches in notes and the contents of attachments.
Power BI in Model driven app
You need to enable Power BI visualization embedding for your environment in Features, under Settings, in the Power Platform admin center.
SP integration
1) SharePoint integration is known as “server-based integration” to distinguish it from the server-side synchronization that is used for email integration.
2) Provides the infrastructure to support OneNote integration in model-driven apps
3) a document library is created for each record where the entity is enabled for Document Management.
4) require SharePoint integration to be enabled if you want to use the collaboration features with Microsoft Teams.
Environment->Settings->Integration ->Document Management Settings-> Enable Serer based SP integration
Canvas apps as teams app
1) Maker portal -> Details page of the app - > Add to Teams
2) Review and download the app(.zip) file
3) Upload your app as a custom app to Teams
4) To add canvas apps as a Teams app, the Upload custom apps option must be enabled by a Teams admin in the Teams app setup policies.
5) If you want this app to appear for all users, you need to upload the app for the organization and then, in the Teams admin portal, edit the “global app setup policy” and add the canvas
app to the list of pinned apps
O365 Administration center
1) Users
2) Subscriptions
3) Allocation of licenses to users
4) Security groups and membership
PPAC
1) Create environments.
2) Open environments.
3) Access environment settings.
4) Perform environment operations (copy, switch, delete, reset, admin mode,security group, convert trial).
5) Manage data loss prevention policies.
6) Integrate data.
7) Install/update applications and solutions.
Maker portal
1) Manage CDS (entities, fields, relationships, forms, views, and rules).
2) Create apps.
3) Import data.
4) Export data.
Connection Roles
*are created in PPAC
Environment->Settings-> connection roles.
*Category, Record Types, Matching Connection role.
Business Rules vs Calculated
1) Business Rule - Conditions are checked when the form loads and whenever any field referenced within the condition changes.
Business rules are run automatically in the order that they were activated.
You cannot run a business rule manually.
2) Calculated field - re-calculated when form is saved.
Scope of Business Rule
If you choose All Forms for the scope, the business rule will be applied for all the Main
forms and the Quick Create form.
Rules do not run again when a record is saved
unless the scope for the rule is set at an entity level.
Limitations of BR
1) Business rules run only when the form loads and when the value of the field referenced in the rule is changed.
2) Rules do not run again when a record is saved unless the scope for the rule is set at an entity level.
3) If a business rule references a field that is not present on a form, the rule will not be applied. There will be no error message to inform you that the rule hasn’t been applied.
4) When the scope is set to Entity, the rule will run twice – once on the form and once on the platform.
5) Business rules work only with fields. If you need to manipulate other form elements, such as tabs or sections, you must use JavaScript.
6) You can’t have more than 10 if-else conditions in a rule.
7) Nested if-else statements are not supported.
8) Grouping of expressions in a condition is not supported.
9) Rules in conditions can be combined either using AND or using OR, but not both.
10) When you set a field value using a business rule, OnChange JavaScript event handlers for that field will not be triggered.
Classic workflow vs Power Automate
Classic workflows have one advantage over Power Automate flows: they can be run in real
time, that is, synchronously.
Classic Workflow can be triggered by following events on records in the CDS
Creating a record Updating a record Deleting a record Changing the status of a record Change of ownership (assigning) of a record
Conditions in Classic Workflow
There are two types of conditions for processes:
Check conditions
Wait conditions
A process can use fields from the entity or any field from an entity in a many-to-one
relationship in a condition.
Check conditions can be nested, but be careful as the process editor cannot
handle more than five levels of nesting.
* Wait conditions can only be used in background workflows.
*A wait condition should always have a parallel wait condition to prevent the process from running forever
*If the background workflow you convert uses a wait condition, it will
become invalid and you won’t be able to activate it until you remove the
wait condition.
Action vs classic workflow
Action processes cannot be triggered automatically.
Action processes are invoked from other components.
Action processes can have input and output arguments.
Action processes are associated with a single entity or can be set as global (not
associated with any entity).
Action processes always run under the security context of the calling user.
Action processes always run synchronously, in other words, in real time.
Action process in Power Automate flow
To call an action process in a Power Automate flow, you need to use the
1) Common Data Service (current environment) connector.
2) You should use Perform a bound action for action processes associated with an entity,
3) and use Perform an unbound action for action processes set as Global.
There are built-in actions in the CDS that you can use, such as the following:
Set Word Template: Creates a Word document from a Word template
Add To Queue: Adds a record to a queue
Logs for Workflow
1) Background - System jobs
You can toggle the Keep logs for workflow jobs setting in the properties of the
workflow editor
2) Realtime - do not create system jobs
in a real-time workflow, there is no log for successful operations. You can enable
Error logging by checking the keep logs for workflow jobs that encountered errors during setting in the Workflow Log Retention area in the process editor.
View of the errors - use Advanced Find and create view for “Process Session” entity.
Priv for Import data
You need the Data Import and Data Map privileges to use the Import Data Wizard.
Data templates
Data templates are spreadsheets that you can download to increase the success of data
imports.
The data templates are available in Advanced Settings under Data Management,
Duplicate detection
- Adding multiple fields to a rule means all the fields must match. This is the equivalent of an AND operation.
- If you need to perform an OR operation, such as matching on the email address or phone number, you
need to create separate rules, one for matching on the phone number and one for matching on the email address. - You can have five duplicate detection rules per entity.
- Duplicate detection rules cannot be included in solutions
Viewing Audit Records
1) Audit History - Entity under related records. view of all the changes made to a record.
2) Audit Summary - all audit events in the environment. PPAC
A new audit log is created every 90 days.
Microsoft makes all audit logs available from the Microsoft 365 Security and Compliance
Center with the added benefit of including reads and other data viewing activities, such as
exporting to Excel.
Some of the activities that are logged include the following:
Reads of individual records
Queries of multiple records
Export to Excel
Adding a user to a team
The activity logs can be viewed in the Microsoft 365 Security and Compliance Center
Security levels
1) Azure Active Directory (AD) handles the authentication of users.
2) Office 365 and Azure AD manage users and their licenses.
3) Access to environments can be restricted in the Power Platform admin center.
4) CDS databases manage security, authorizing the use of data and services within applications.
Security Group
Environments can be linked to an Azure AD security group. Once linked, only users in that security group will be able to access that environment
Organization owned entity
Entities that are organization-owned do not have the Assign and Share privileges as these
privileges are concerned with record ownership – records for organization-owned entities do not have an owner.