vendredi 6 février 2015

Access Request list "Request For" column



We are looking at ways to use the current access request functionality by pulling the field "Request For" into a workflow and deciding actions upon that field value.


If we use the default view, pendingreq.aspx, for the Access Requests list, there is a column "Request For". This column, a hyperlink, tells you the level at which users are requesting access...and if approved, the level at which the SCA is about to give permission.


http://mySharePointSite/_api/lists/getbytitle('Access%20Requests')/items?$select=ObjectRequestedTitleDisp


In SharePoint Designer, I see the following View code which could lead to helping get to the right place, but I'm not familiar with this code just yet:


15 accessrequestscontrol.js|mquery.js|callout.js|accessrequestsviewtemplate.js main.xsl


Looks like from Report Builder {download here} if you select "Show Hidden Fields" @ the top of the modal window when building the query, you'll see the "Request_for" ...ObjectRequestedTitleDisp field. Only bummer is it's just the name/title...there is no file extension or anything at the end of the string value. So, if the name isn't "smart" coded/listed, you won't know if it's library, folder, document or site level...there is no ".docx" or ".xlsx" @ the end of the "Request_for" string. At least, I haven't found a way to decipher that yet.








0 commentaires:

Enregistrer un commentaire