Get Completed Documents without attachments - pdf-generation

I am using REST API's Get Envelope Documents and Certificate call to retrieve completed documents. It retrieves all pdf documents with attachments as a byte stream. From which I can't separate pdf documents from attachments. How can I separate pdf documents from attachments or Can I get pdf documents and attachments separately from two calls using REST API. I don't want both documents and attachments as one byte stream.

Yes you can separate them, there is actually an account setting that controls whether or not signer attachments are concatenated to the PDF docs. To modify this account setting:
Login to the Console (demo.docusign.net for demo, www.docusign.net for production)
Select profile icon in the top right of the screen.
Select Preferences and on the following screen scroll down and select Features.
Find the option labeled "Concatenate Signer Attachment Documents to the Parent Document" and un-check if you do not want them concatenated.

Related

Is it possible to keep changes to a public Google Sheet clientside only?

I've created a list in Google Sheets that lets the user easily apply custom filters by either entering a search term or selecting an item per column as well as sort by some criteria. Since the document is supposed to be used by multiple people without Google accounts, I'd like anyone to be able to browse the list and apply criteria as straightforward as using Filter Views. However, if I were to publish the spreadsheet as it is now, the filter settings would naturally apply to every viewer of the document.
Is it possible to let viewers use the filters without manipulating the results for the others?
well, for that purpose alone, there was created the "black filter view"
which is local and does not influence original dataset at all, as it does the "green filter view" which acts as global for all users
so now the only obstacle is unawareness of this, of the majority Google Sheet users because black filter view needs to be triggered by each user on his side.

Can a dynamic link be created to be used from a view in Dynamics CRM?

I would like to be able to include a link in a view on the contact entity of dynamics crm that will pop a custom window that we have built. The custom window needs the contact id and the user id in order to function. Our users have requested that such a link be on the view rather than having to go into the contact record itself.
So, is it possible to create a dynamic URL that will be utilized from the view and will be able to determine the contact id and the user id?
I would assume I need to do this with a web resource, but I've only ever used a web resource in an iframe.
I have tried to build a web resource and just use the web resource's link to put into a field and display that field on the view, but obviously that didn't work.
Essentially the link would build a url and then pop up a new window with that url. Here's my url structure: https://example.com/mscrm/ticketing/Activity/PhoneCallSave.aspx?cId=00000000-0000-0000-0000-000000000000&id=%7b00000000-0000-0000-0000-000000000000%7d&orgname=00000000-0000-0000-0000-000000000000&userid=%7b00000000-0000-0000-0000-000000000000%7d&type=contact&token=Zf7Hi3PFokqRn3RnTD6hPA
This is an interesting request that I have not encountered before...
I thought about using a URL-formatted field, and the fact that D365 by default will hyperlink lookup fields. But, with those options you'd have to write data into a field on each Contact or create an entire new record for each Contact, on the fly.
What about creating a separate web resource that contains a table with only one column to hold the dynamically generated URL's? Run the same query as the view to get the Contacts, then generate the URL's and populate them into that "mini-grid". Put the main Contacts view in one section (say two-columns wide), and the mini-grid web resource in a single-column section right next to it, with no border and the same row height.
This way you rely on the main Contact grid for the Contact info, with the mini-grid holding your dynamic URL's (with proper link names of course, rather than raw URL's).
The high-level steps would be:
Get the user's id from the form context.
OnLoad of the sub-grid, get the set of Contact Id's.
Generate the URL for each Contact.
Populate the URL's into the mini-grid in the same order as the Contacts in the sub-grid, so each row in the mini-grid lines up with its Contact row to the left.
Another idea would be to look into the custom icon functionality in V9 to see if there are any hooks in there where you can add a dynamic URL.
You could also write a RetrieveMultiple plugin to dynamically populate a URL-formatted text field. RetrieveMultiple plugins have their caveats. But, how bad is it?
An unsupported option might be to hack the DOM and put your dynamic URL into a blank URL-formatted field in the view.

Including an image in a rich text field

I'm using Apex 4.2 and Oracle 11.g.
I have a rich text field that is used to store the body of an apex-generated eMail using SMTP_MAIl. The eMail generation process works fine. But my users want to include an image (jpg, bmp, etc.) into the body of the email, and don't want to include the image as an attachment.
On the Apex page, the rich-text field is defined as a Rich Text Editor / CDK Editor 3 / Toolbar = Full / Toolbar Expanded = Yes / Skin = Office 2003.
The rich-text field writes to a BLOB column.
If I just paste in the image (Shift / Insert) and then go to save the rich text field, I get a 500 - Internal Server Error.
Can you provide some help so that I can include an image in the rich text field? Ultimately, this will be included in the body of an html_email.
Thanks for your help.
The nature of my problem seems to be related to the 32K limit per Apex page item.
A colleague told me to look for a plugin. I found Enkitec's "CLOB LOAD" plugin. https://www.enkitec.com/products/plugins/clob-load
The plugin works well. It's easy to install, and the directions are pretty clear.
I stumbled on a few things to supplement CLOB_LOAD directions.
1) The table item that the Rich Text will write to has to be defined as a CLOB (and not a BLOB).
2) You have to create a Apex Collection using Apex's SQL Workshop. Be sure to include the Begin and End. The directions reference this.
3) If you already setup the form Apex page using the Apex Wizard and the DML page process is there, The "Return Key Into Item" is empty. At least it was with my Apex Page (4.2). That prevented the "Create" button from working. Once I set the "Return Key Into Item" value to the page item that relates to the primary key column of the table, it helped.
4) I also had to copy the page process for the "Save" button suggested by the plugin directions and assign the copied process to the "Create" button. Once I set those two items up, the plugin worked fine for updating as well as creating. It's a good solution.
Using this plugin, I can place a JPG, PNG, GIF, etc. into the Rich Text field, and it will write it to the CLOB, even when the total page item is greater than 32K.

Generate index with page numbers for PDF

I have record sets for which I need to programmatically generate PDFs, similar to a phone book. At the end of the listing, I need to append an alphabetical index of entries which includes the page number on which each entry appears. How can I discover these page numbers while building the index? I haven't chosen a PDF library yet, as I'm waiting to see if any support this functionality.

Print all Images in a ms access database

I Have developed a reporting tool using ms access. It is composed of 10 forms which allows the user to input data. I also allow the user to upload images to the database(images are uploaded to image folder and the link is store in the database table). The user could upload as many as 30 image files.
What i want to do is add another form which displays all the images the user has uploaded. Would this be possible in access i know in php you can use the mysql_num_rows function , just wondering is their a similar way to achieve this in access. Can anyone point me in the right direction ?
Basically when a form opens i want to run an Sql statement that retrieves all the images in the tables database and then shows the images on the form.
Using MS Access 2010:
\1. Create a continuous form, there is a wizard that will step you through. You can base the from on a table or query, a query is usually best. Ensure you include the field that holds the path to your image. You do not need to include the field with the path to the image on the form, it just needs to be part of the recordset.
\2. Add an image control
\3. Set the control source for the image control to the name of the field that holds the path to the image.
\4. View the form.
The continuous form can be a subform

Resources