DocuSign API Set page orientation - docusignapi

I see in the web interface that I can rotate document pages individually inside an envelope, but I can’t seem to do it via the API.
The API offers height and width properties of a Document, but they seem to have no effect when I use them via the python client.

You'll want to call the Envelopes::rotateDocumentPage method using our Python SDK.
For example, should you want to rotate a document page within your envelope, you can do so calling that method on your envelope object, passing in the string "left" or "right" depending on which way you want to rotate the document.
Here a link to the relevant API reference page.

Related

Sharepoint Document Library OnQuickLaunch (in site navigation) with Graph API?

I'm currently working with SPO and Microsoft Graph API on a .NET 6.0 microservice.
What I want to achieve is to create a Document Library and to have a link to it in the quick navigation on the left.
I can create the Document library successfully like this:
But the created document library is only visible in the "Site Contents" section.
What the user's I'm developing for would like to have is, as simple as: EVERY TIME a new Document Library is programmatically created a link to it SHOWS up in the navigation pane.
From a user perspective this is easily achievable from the UI:
It's just a tick.
With fiddler I saw the body of the request made when you create a Document Library via UI:
But what's the corresponding property of this simple "OnQuickLaunch" field in the Graph API list model?
I've been unable to find any reference from MS documentation, am I blind or missing something?
Would also be ok if should be, somehow, possible to add the link in the navigation pane "manually" from code via Graph API.
Something like:
POST microsoft.graph.com/v1/quickLaunch/links
with body:
{
"name":"myLink",
"url":"the/document/library/url"
}

Mozilla Hubs - Render content from API

I am new to metaverse and need guidance on how to make API calls from an element and render say in a Troika Text element or any other element of Spoke.
All the Spoke tutorials talk about creating object and scenes and exporting them to
Mozilla Hub but I did not find any reference on how to render content from a REST API like displaying the current weather from this API https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current_weather=true.

Is there a way to embed the DocuSign prepare or send envelope control panel in my webpage?

I am working on a DocuSign integration and want to allow the sender of the envelope to view the control panel to drag and drop signature tabs onto the document.
I already have a successful implementation that sends an embedded envelope to the signers. However, for this specific requirement, I do not know a) the X/Y coordinates of the signing tabs, or b) any anchor string for the signature tabs.
I have looked at the DocuSign api and I cannot see a way outside of java, which isn't really what im going for.
I am hoping to use this in an iframe, similar to how the embedded signing panel is done.
I believe the EnvelopeViews::CreateSenderView method is what you're looking for.
You can create a draft, then do the CreateSenderView call to request a url to a session of the DocuSign tagging screen. Since you're wanting to go straight to the tagger, you can leave the send=1 parameter as-is. If you wanted the URL to go to the Documents/Recipients screen instead of the tagger, you could change the url you recive from DocuSign to end with send=0 instead.
Do heed the Information Security warning on that API call: The Sender View URL will provide full access to the Web Console for whoever the authenticated user is. This is not a concern if you have one membership per user, but if you are using a shared membership everyone will have access to all envelopes on that membership.

PowerForms and its advantage

Few questions about PowerForms
What is the real advantage of using PowerForms? In which case(s) it is most useful?
In Docusign Classic View >> PowerForms, there is an option to download Form Data as XML and CSV. Can we download this data using APIs?
For this question, I referred this thread "Can We get a report for the values filled in radio button in DocuSign Envelope".
PowerForms are an easy way of referencing a DocuSign Template through the API without writing any code. They are intended for less technical end-users who want to quickly access a Template through either email delivery or through a direct link (URL) but don't know / want to code it up. Instead they manually initiate such requests through a created PowerForm.
With regards to the form data question- yes, you can programmatically retrieve the form data through the API. You need to keep in mind that DocuSign tabs (aka fields) are always with respect to recipients and not the document itself.
Therefore, you can make the Get Tab Information For Recipient API call (REST version linked).

Attachments on iPad in iFrame docusign

I am using iframe to get document signed by clients on ipad. There are attachments as well for each signer, but before attaching the captured image, I want to resize it. Is there a way to resize an image before attaching it with document.
Currently there is no functionality built in to the DocuSign platform that would allow the re-sizing of an attached image, DocuSign is an eSignature company and when they allow attachments on top of the documents that are about to be signed they should not be modified in any way as it could alter important aspects about the legally binding agreement that is being signed.
However I think you might still have a few options here to solve your issue. The two obvious ones that come to mind are:
Get the captured image from your recipients BEFORE they start the signing process.
Use a conditional tab to not allow the recipient to add an attachment unless it's within a certain size.
For the first solution you could use the Embedding feature to design whatever UI around the signing experience you'd like and in that case you can control the order of operations (i.e. have them upload the image first before clicking a button to sign) and you can then resize the image and add it to the envelope.
For the second solution, you could use the radioGroupTabs to add 2 grouped radio buttons to the envelope (so that only one can be checked) and say something like "Check this box if your image is within NxM size" and then the signer attachment tab only shows if they check that box. To do this you can make use of the ConditionalTabs feature.
For more information on Embedding DocuSign please see this page from the DocuSign Developer Center:
Embedding Feature
For more information on Conditional Fields refer to the User Guide (non-api use) and the documentation:
Conditional Fields User Guide
REST API Guide (search for term "conditional")

Resources