Scheduled Maintenance: Archer Community Temporary Downtime. Learn More here.
2019-10-10 10:15 AM
Running a mail merge with a custom object with a code <div id="exportButton"></div>
getting error. Error log says "The user has insufficient permissions for this action."
User is a sysadmin!!
Successfully working with normal Export emerging with mailmerge!!!
Has anyone come along with it.
Another mailmerge it works for one admin, another RPF filed role but not for a different role. Except admin both has same access!!
2019-10-10 11:03 AM
Varghese, can you post the complete custom object code?
Advisory Consultant
2019-10-17 12:55 PM
Thanks Athira
Try removing &layoutId=114 parameter (line 7) from the below function and see if that works.
function myLink(lTrackingID, lTemplateID, lLevelId){
ShowExportReportCreationWindow(
baseURL + '/GenericContent/ExportReportCreation.aspx?contentId=' +
lTrackingID + '&levelId=' +
lLevelId + '&exportSourceType=RecordView&exportType=Rtf&moduleName=' +
moduleName.replace(' ','+') + '&templateId=' +
lTemplateID + '&layoutId=114&et=0','Export'
);
}
Advisory Consultant
2019-10-18 08:24 AM
Thanks and will try that
2019-10-31 08:06 AM
I am also facing the same issue, i don't have layout id . Can you please advice if this is fixed for you.
2019-10-31 09:20 AM
HI Ravi,
We had issue with the level ID in the custom code. Changing it resolved the issue.