Javascript
1. Can we check if entity is dirty or field
is dirty?
//To Check if the entity is dirtyvar
ismodified=Xrm.Page.data.entity.getIsDirty();
//To Get Dirty Fieldsvar attributes =
Xrm.Page.data.entity.attributes.get() ;
for (var i in attributes)
{
var attribute = attributes[i];
if (attribute.getIsDirty())
alert(“attribute dirty: ” + attribute.getName());
}
Customization & Configuration
2. Can Rollup fields be implemented for entities
with N: N relationship?
A. No; A Rollup fields can be done only over
related entities with the 1: N relationship. A Rollup can’t be done over the N:
N relationships.
3. Can Hierarchy be implemented between two
entities?
A. The visualization feature can only be enabled
for self-referencing relationships within a particular entity, including custom
entities.
4. What is the default time period of auto-save in
MS CRM 2013/2015 forms?
A. 30 Sec
5. Can you disable auto-save for a particular
entity form and if yes, how?
A. We can disable auto-save for organization or for
a particular entity form.
For Organization
- Go to Settings > Administration.
- Choose System Settings.
- For the Enable auto-save for all forms option,
select No.
For Particular Entity
It can be done through JavaScript. For more
details refer to
https://technet.microsoft.com/en-us/library/dn531073.aspx#BKMK_DisableAutoSaveOrg
Programming
6. What is the difference between
Authentication and Authorization ?
A. Authentication is the process
of verifying the identity of a user by obtaining some sort of credentials and
using those credentials to verify the user's identity. If the credentials
are valid, the authorization process starts. Authentication process always
proceeds to Authorization process.
Authorization is the process of
allowing an authenticated users to access the resources by checking whether the
user has access rights to the system. Authorization helps you to control
access rights by granting or denying specific permissions to an authenticated
user.
No comments:
Post a Comment