Hi all,
I'm trying to allow an Employee Centre user to view a file from the File Cabinet whereby the Employee Centre role has no File Cabinet permissions. Because of payroll, we are unable to set Employee Centre users up with the File Cabinet permissions, so I was hoping that through a Suitelet (set to run as Administrator), I could allow given Employees to see certain files. I'm running into a couple of issues:
[LIST=1]
[*]I can't really run a File search. I have used the undocumented (and perhaps risky) 'nlapiSearchRecord('file'...)' search, so that's okay for now.
[*]So I have the file's URL in my Suitelet, but I cannot seem to open the file to view (i.e. preview) in Employee Centre. It works just fine for Full Access users.
[/LIST]
Is there a way I can get around this such that they can see the file? Note also, all files are NOT 'available without login'.
Thanks in advance,
Kirk.