This topic contains 1 reply, has 2 voices, and was last updated by  mwilliams 2 weeks, 1 day ago.

  • Author
    Posts
  • Participant
    vacster10
    Member since: 30.08.2018
    Number of posts: 2

    Hello everyone,

    My end goal is to send an e-SignLive Package automatically when a certain custom object is created.

    I was wondering if it was possible to link the custom object to the e-SignLive Package (the same way as when using a button or Visualforce page with ParentId) through an Apex Trigger. I can’t find any way to do so in the documentation provided — it can create the Package and send it no problem, but it would be stored outside Salesforce.

    And trying to replicate the custom button’s actions through HTTP requests in Apex seems impossible as they are GET requests that include scripts that must execute, without mentioning possible issues with oauth.

    Any way to accomplish this?

    • This topic was modified 2 weeks, 6 days ago by  vacster10.
    Keymaster
    mwilliams
    Guru
    Member since: 21.08.2015
    Number of posts: 859

    Score

    0

    Hey vacster,

    There currently is not a supported method of creating a transaction in the connector from APEX. You would have to manage the transaction in your application, as well, if you choose to go the APEX route. I would also suggest that you contact support (sign.support@onespan.com) and submit an enhancement request for this functionality built into the connector.


    – Michael
    Partner and Developer Technologies Manager, OneSpan
    Facebook – https://www.facebook.com/michael.williams1120
    Twitter – https://twitter.com/mwilliams1120
    LinkedIn – https://www.linkedin.com/in/mwilliams1120

You must be logged in to reply to this topic.