string name = string.Empty;
string email = string.Empty;
Guid RecordId = Guid.Empty;/**
* This approach should not be used in production
* Please create process parameters and set values with standard tools (i.e. Formula)
* ReadDataUserTask1 is the Code of "Read One Contact" element
*/
var re = context.Process.FindFlowElementByName("ReadDataUserTask1").GetPropertyValue("ResultEntity");if(re.TryGetPropertyValue("Email", out object _email)){
email = _email.ToString();}if(re.TryGetPropertyValue("Name", out object _name)){
name = _name.ToString();}if(re.TryGetPropertyValue("Id", out object _id)){if(Guid.TryParse(_id.ToString(), out Guid Id)){
RecordId = Id;}}//Set values to process parameters
Set<string>("Name", name);
Set<string>("Email", email);
Set<Guid>("RecordId", RecordId);returntrue;
Did you read the Installation > Guides and manualsRead Manuals on the marketplace page?
1. Register at Aspose.PDF service (https://products.aspose.cloud/pdf/net), add an application (My Apps> Add an App), get access keys (Client Secret, Client ID).
2. Fill in the system settings "Aspose API Access Key" (= Client Secret) and "Aspose Security Identifier (App SID)" (= Client ID) with the data from item 1, respectively. Logout and login to the Creatio app again.
3. Go to System Designer > Lookups > the ‘Printables’ lookup, select the printable, and open the printable setup page, select the ‘Convert to PDF’ checkbox and save changes. Note that the ‘Convert to PDF’ checkbox is available only on the printable setup page in the new UI.
4. The add-on shows an error message if a printable conversion fails on the Aspose side (Aspose service is unavailable, service access is not paid, etc.). Detailed error description is available in the browser console.
You can find an example of the Aspose API library call from Creatio in the 'AsposeCloud' package. Additional information on Aspose API SDK is available here - https://products.aspose.cloud/pdf/net.
The responsible team checked that the Aspose connector uses Aspose.Words.Cloud.Sdk.dll, which does not include the method that you need. You can find the description of the .Pages.Add() method that you need here: https://docs.aspose.com/pdf/net/merge-pdf-documents. Please install the required library and follow the Aspose official guidelines.
We have asked the team about possible development assistance, unfortunately, they cannot assist.