External Form and sending email with PDF attachment - netsuite

I have a custom record that has an external html form. I also have a user event script that sends an email with a pdf attachment that is rendered using render.create. My issue is that when an external user completes the form they are getting error that says:
{"type":"error.SuiteScriptError","name":"INSUFFICIENT_PERMISSION","message":"Permission Violation: You need the 'Lists -> Documents and Files' permission to access this page.
The xml file that is used to create the pdf is set to Available Without Login.
How can I add this permission to an external user?

The error is probably occurring when the User Event script tries to save the pdf file. This would occur if the script deployment has the "Execute As Role" field set to "Current Role" which is the default. You can set this field to "Administrator" or any other role with the required permission to overcome this issue.

Related

DOCUSIGN : How to Bypass the Access code validation page by passing the access code programatically

I have a requirement where i want to validate a template using Access Code, but i want to bypass the access code validation by passing the Access code programatically(similar to how we can bypass the Initiator landing page https://docs.docusign.com/supportdocs/ndse-help/Content/populate-custom-fields.htm#pnz1578456644088).
There is a value you can enter to bypass the access code validation. If you append the parameter ActivateOnly=1 at the end of your Email PowerForm URL, the recipient will not have to enter an Access Code
A Sample PowerForm URL would look like this:
https://www.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=ad01e352-158a-4380-96c9-9cbc4366028t&ActivateOnly=1
It is explained in more detail here:
https://support.docusign.com/en/articles/Email-PowerForms-How-to-remove-system-generated-Access-Code-requirement
The problem with this option is that it requires users to access the powerform from their email
If you need the template to be both available to your internal sending users as well as your Powerform, then split them up.
Duplicate your template by using "Create a Copy" from the drop-down menu. Rename the one being used by your PowerForm and unshare it with your users. Remove the Access Code requirement from the template role.
Edit the duplicate template. Ensure this one is shared with your users.

Sharepoint 2013 - how to attach document to a document library as anonymous user

I have a document library on Sharepoint2013 site. I want anonymous users to access this list and can upload any documents they want after specifying their email address. I directed to list settings and allow anonymous access on permissions like below.
Name Type Permission Levels
Anonymous Users Anonymous Users Add Items, Edit Items, Delete Items, View Items
Right now, anonymous users can access the document library without a problem. Those users can click save button without selecting a document, this is working and a record exists. However, when a document is uploaded by anonymous users, when save button is clicked, the user is automatically directed to a login page, asking for credentials, without saving the document. What I want is that anonymous users would upload any document to the document library as well, they should not need to log in.
I appreciate if anyone helps.
Thanks.
Anonymous users are unable to upload documents into SharePoint libraries by default, so you would have to create a webpart and use the RunWithElevatedPrivileges method to upload files into a document library.
You can find the webpart's code here:
http://andreaswijayablog.blogspot.com.br/2014/04/sharepoint-2013-anonymous-access-add.html

Liferay able to access download url even after setting permissions to owner only

I have set my the document and media portlet to be owner only permissions. However, I am able to use another user's download URL to download his files.
eg. copying
{mysite.com}/documents/323892/445802/{user1's file title}/2e8db841-9c7e-47ad-99c0-6496afd0ffad?version=1.1
and using the above URL as another user. Is there a setting to block this behavior?
In Documents and Media, the "VIEW" permission allows other users to download the file as they can VIEW them.
Please allow only "OWNER" to view the file and not to the "GUEST" or "USER".

Demo Account Branding: Override DocuSign_EmailResources

I uploaded a file DocuSign_EmailResources.xml to override the Master file and I do not my the changes. The documentation says that 'The ability to use the resource file option is not
normally enabled for an account; contact your Account Manager or DocuSign Support for more
information about enabling this option in your account'.
Before we update our production, we would like test on our demo account using SOAP API. I just want to add a link to the Email text. When I try this through the API, the link is disabled in the email as it is being formatted by the server side program.
Is there any setting that I am missing.
Thanks in advance.
If you can see (and access) the Resources tab when Editing a Brand Profile in the DocuSign web console, then this should mean that "the ability to use the resource file..." is indeed already enabled for your account.
The Email Resource file is quite lengthy, and is divided into various sections -- each section being the email template that's used for a specific type of email that DocuSign sends. So, for example, if you wanted to modify the contents of the "signing invitation" email that DocuSign sends to a recipient when it's their turn to sign, you'd modify contents within the Envelope Activation section of the Email Resource File. Changes applied to other sections of the resource file would not impact/affect the signing invitation email. If you haven't already done so, I'd suggest that you review the Email Resource File Guide (http://www.docusign.com/sites/default/files/DocuSign%20System%20Default%20Email%20Formats.pdf) to ensure that you've modified the correct section of the resource file for the type of email that you intend to effect.
Also, keep in mind that each Email Resource File applies to a specific (single) Brand. So, if you have multiple Brands within your account, make sure that you're modifying the Email Resource File for the Brand that's used for the Envelopes where you expect/want customized email content.

Permissions required for changing Document Name

What permissions are required for a User to Update Document 'Name' in editform while uploading document in SharePoint document library.
It seems user has no issue while specifying any other property but get access denied if change document name?
User needs the permission to delete. Yes, really. If you need renaming and want to prevent users from deleting documents, you'll need a custom ItemDeleting receiver.

Resources