I am building an application that one can be able to update their details. I have a display screen and an edit screen. The display screen has most items showing data from AD. These items include country, manager, Department etc. However, AD is not usually updated as first and so I would love to do an if Statement that if for the view Screen. For example if the department item is updated, it should show from SharePoint, otherwise, it should show from AD.
The country AD code is
Office365Users.MyProfile().DepartmentThe Country SharePoint code is
varRecord.department

Report
All responses (
Answers (