Account
I am a
Developer
Product(s)
Earned badges
Achievement: Latest Unlocked
Replies
Topics Started
Preferences
Topic Started
This user has not created any forum posts.
Replies Created
Reply to: How to add multiple signature anchor
Monday, July 10, 2017 at 10:48amHere is my code snippet
ESignLiveAPIObjects.ExtractAnchor ea1 = new ESignLiveAPIObjects.ExtractAnchor();
ea1.text = 'Customer SIGN';
ea1.index = 0;
ea1.width = 200;
ea1.height = 70;
ea1.anchorPoint = ESignLiveAPIObjects.AnchorPoint.TOPRIGHT;
ea1.characterIndex = 0;
ea1.leftOffset = 0;
ea1.topOffset = 10;
ESignLiveAPIObjects.Field f1 = new ESignLiveAPIObjects.Field();
f1.type = 'SIGNATURE';
f1.page = 1;
f1.extract = false;
f1.left = 0;
f1.subtype = 'FULLNAME';
f1.top = 0;
f1.extractAnchor = ea1;
ESignLiveAPIObjects.ExtractAnchor ea2 = new ESignLiveAPIObjects.ExtractAnchor();
ea2.text = 'Customer SIGN';
ea2.index = 0;
ea2.width = 200;
ea2.height = 70;
ea2.anchorPoint = ESignLiveAPIObjects.AnchorPoint.TOPRIGHT;
ea2.characterIndex = 0;
ea2.leftOffset = 0;
ea2.topOffset = 10;
ESignLiveAPIObjects.Field f2 = new ESignLiveAPIObjects.Field();
f2.type = 'SIGNATURE';
f2.page = 2;
f2.extract = false;
f2.left = 0;
f2.subtype = 'FULLNAME';
f2.top = 0;
f2.extractAnchor = ea2;
.......
.......
.......
ESignLiveAPIObjects.Approval approval1 = new ESignLiveAPIObjects.Approval();
approval1.role = 'TedK';
approval1.fields = new List {f1, f2};
At the bottom of all pdf pages there is section for custom signature and date and it has Text: Customer SIGN
Reply to: How to add multiple signature anchor
Monday, July 10, 2017 at 11:22amThanks for quick response.
Yes I did include doc. That document has 3 pages and only first page get signed and not other pages.
Reply to: How to add multiple signature anchor
Monday, July 10, 2017 at 12:48pmhere is one C-RKckWKUJl8_zFLqatm62bJFPY=
In convention -> Signer Label: there is field Occurrence which tell you after how many Occurrence of your anchor text add the label or sign so I am to do similar thing. As my document has 3 pages and each has Text: Custom Sign at the bottom
Reply to: How to add multiple signature anchor
Monday, July 10, 2017 at 04:46pmFigured out a solution and I dont know if it is right way to do it
I have to do something like this
ESignLiveAPIObjects.ExtractAnchor ea = new ESignLiveAPIObjects.ExtractAnchor();
ea.text = 'HEADQUARTER';
ea.index = 0; // page number 0
ea.width = 200;
ea.height = 70;
ea.anchorPoint = ESignLiveAPIObjects.AnchorPoint.TOPRIGHT;
ea.characterIndex = 0;
ea.leftOffset = 0;
ea.topOffset = 10;
ESignLiveAPIObjects.Field f1 = new ESignLiveAPIObjects.Field();
f1.type = 'SIGNATURE';
f1.page = 0;
f1.extract = true;
f1.left = 0;
f1.subtype = 'FULLNAME';
f1.top = 0;
f1.extractAnchor = ea;
ESignLiveAPIObjects.ExtractAnchor ea2 = new ESignLiveAPIObjects.ExtractAnchor();
ea2.text = 'HEADQUARTER';
ea2.index = 1; // page number 2
ea2.width = 200;
ea2.height = 70;
ea2.anchorPoint = ESignLiveAPIObjects.AnchorPoint.TOPRIGHT;
ea2.characterIndex = 0;
ea2.leftOffset = 0;
ea2.topOffset = 10;
ESignLiveAPIObjects.Field f2 = new ESignLiveAPIObjects.Field();
f2.type = 'SIGNATURE';
f2.page = 0;
f2.extract = true;
f2.left = 0;
f2.subtype = 'FULLNAME';
f2.binding = '{approval.signed}';
f2.top = 0;
f2.extractAnchor = ea2;
ESignLiveAPIObjects.ExtractAnchor ea3 = new ESignLiveAPIObjects.ExtractAnchor();
ea3.text = 'HEADQUARTER';
ea3.index = 2; // page number 3
ea3.width = 200;
ea3.height = 70;
ea3.anchorPoint = ESignLiveAPIObjects.AnchorPoint.TOPRIGHT;
ea3.characterIndex = 0;
ea3.leftOffset = 0;
ea3.topOffset = 10;
ESignLiveAPIObjects.Field f3 = new ESignLiveAPIObjects.Field();
f3.type = 'SIGNATURE';
f3.page = 0;
f3.extract = true;
f3.left = 0;
f3.subtype = 'FULLNAME';
f3.binding = '{approval.signed}';
f3.top = 0;
f3.extractAnchor = ea3;
.....
.....
......
ESignLiveAPIObjects.Approval approval1 = new ESignLiveAPIObjects.Approval();
approval1.role = 'TedDoe';
approval1.fields = new List {f1};
ESignLiveAPIObjects.Approval approval2 = new ESignLiveAPIObjects.Approval();
approval2.role = 'TedDoe';
approval2.fields = new List {f2};
ESignLiveAPIObjects.Approval approval3 = new ESignLiveAPIObjects.Approval();
approval3.role = 'TedDoe';
approval3.fields = new List {f3};
ESignLiveAPIObjects.Document doc1 = new ESignLiveAPIObjects.Document();
doc1.name = 'testDocumentOne';
doc1.id = 'testDocumentOneid';
doc1.approvals = new List {approval1, approval2, approval3};
Is the above codes right way to do it.
Hi Harish please can you tell me why I cant do approval.fields = new List {f1,f2, f3}; for f.type='SIGNATURE' so I have to split into 3 parts
ESignLiveAPIObjects.Approval approval1 = new ESignLiveAPIObjects.Approval();
approval1.role = 'TedDoe';
approval1.fields = new List {f1};
ESignLiveAPIObjects.Approval approval2 = new ESignLiveAPIObjects.Approval();
approval2.role = 'TedDoe';
approval2.fields = new List {f2};
ESignLiveAPIObjects.Approval approval3 = new ESignLiveAPIObjects.Approval();
approval3.role = 'TedDoe';
approval3.fields = new List {f3};
ESignLiveAPIObjects.Document doc1 = new ESignLiveAPIObjects.Document();
doc1.name = 'testDocumentOne';
doc1.id = 'testDocumentOneid';
doc1.approvals = new List {approval1, approval2, approval3};
but when try to do
f3.type = 'INPUT''; then I can do
ESignLiveAPIObjects.Approval approval1 = new ESignLiveAPIObjects.Approval();
approval1.role = 'TedDoe';
approval1.fields = new List {f1, f2, f3}; and dont have to split in 3 parts
Reply to: users unable to sign using apex sdk
Thursday, July 13, 2017 at 01:50pmThanks Haris I removed the signing order and still no signature
I am just curious when San create and send document why does include my name(Chai the account owner) over there.
My understanding is that it should be only San because when I(the account owner) send create request and sign everything works fine. I attached screen shot where all documents are signed and only my name is there.
In esignlive how do I setup San as. Under Admin -> Sender -> San's Role is Manager.
Subscriptions
This user is not subscribed to any release notes.
Subscriptions Release Notes
This user is not subscribed to any release notes.