nehme

Migrate Account Tool

1 votes
Hello, I download the tool to migrate the accounts from sandbox to production server. The tool working fine but when migrating all the templates, the sandbox watermark still showing. Kindly, advice how this water mark can be removed in production account for esignlive. Thanks, Nehme

Approved Answer

Reply to: Migrate Account Tool

0 votes
Hi nehme, This is the latest version. The usage of "select by template id" function is the same with how you choose sender, you put all template ids(in old environment) in a csv, and input your path when prompting it. The attachment is an example of the whole process. Tell me if this works for you. And after this, I will do refractories to the code and make up the guidance. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Attachments
9-21-5.png13.86 KB

Reply to: Migrate Account Tool

0 votes
Hi nehme, Currently we don't have a tool to remove the watermark. So as a workaround, is it possible for you to collect all documents in a folder, and have a naming convention to mapping the file name to the document name in your template? So that I can try to modify the source code of this migration tool for you. This tool is basically a combination of scripts, it grabs all the metadata in your old env and create the exactly the same in new env, so in the middle step, if you can point to the original file location, you can create a template without watermark. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hello Duo, Sure, let us give it a try. I will wait you to send me the modified migration tool. Thanks! Nehme

Reply to: Migrate Account Tool

0 votes
Hi nehme, Do you use the same file name to name the template document? Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hi nehme, This is a modified migration tool(remember to uninstall your old version), it prompts you to put all original documents in a folder named "docs" in your desktop and file names need to be same with your document name(don't need to consider extension), program will read these files in your ..\desktop\docs instead of downloading from OneSpanSign. I didn't change anything other than that part so the rest of the function should work as previous. Tell me whether this can work for you. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
The code is hosted here since it's exceed the size limitation. https://developer.esignlive.com/code-share/revised-copy-tool/ Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hi Duo, Thank you for your continuous support. I have tried the new tool, it did not move the watermark. Can you modify also the tool to be able to take the source template ID, so i can choose what template I want to migrate? Thanks, Nehme

Reply to: Migrate Account Tool

0 votes
Hi nehme, Do you choose "mirror account" when you use the tool? Cause I just changed the part of code when applying this selection. And if the answer is yes, and the tool still doesn't remove the watermark, there must be some error when running the tool. Did the program flashed back when running? Can you see the log in the console like attachment shows? BTW, you know that you can't assign ID when creating a package/template, so i can only yield a mapping with old and new template id, or you can use name to identify your transactions. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
and the screenshot.

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Attachments
9-21-1.png49.19 KB

Reply to: Migrate Account Tool

0 votes
Hi Duo, No, I do not use mirror account. I put no for mirror account. Thanks, Nehme

Reply to: Migrate Account Tool

0 votes
Hi nehme, Have a try on this version. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hello Duo, Thanks for all the support. The tool working and no errors on the log but the template did not appear in production after the tool finish the job! Any ideas? I have a suggestion, if the tool can ask also the template id, so in this case I import a specific template ID. Thanks! Nehme

Reply to: Migrate Account Tool

0 votes
Hello Duo, I catch this error using Fiddler: 413 Request Entity Too Large -------------------------------------------------------------------------------- nginx Thanks! Nehme

Reply to: Migrate Account Tool

0 votes
Hi nehme, Can you see from the program console that "xxx is under processing"? From which api call you receive this "entity too large" error? And about the suggestion, you mean select template by ID in the old env? Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hello Duo, Yes to be able to put the template ID from the old env/or choose all templates. Yes I can see xxx is under processing. This is the log: Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Program is looking this location: C:\Users\nroukos\Desktop\docs Which is correct 49 documents. I have in the template. Thanks, Nehme

Reply to: Migrate Account Tool

0 votes
Hi nehme, Try this version. All template will be create first then all documents will be uploaded one by one, should solve the "payload too large" problem. Will take another hour to complete the "select by template id" function. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hello Duo, IT WORKS GREAT!!!!! THANKS!!! I will wait you, to send me the enhanced version to “select by template id” function. THANKS A LOT! NEHME :)

Reply to: Migrate Account Tool

0 votes
Hello Duo, Thanks a lot for your continuous Support. The tool works as it should be :). Great Thanks again, Nehme

Reply to: Migrate Account Tool

0 votes
Hi nehme, Glad to hear that! And it's my pleasure assisting you! Have a good day, Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hello Duo, While using the migrate tool from production ca to sandbox, even i choose move layout but I can not see the layout in the migrated template in sandbox. Do you have any solution? Thanks Nehme

Reply to: Migrate Account Tool

0 votes
Hi nehme, You can try the latest GUI version migration tool. Link here. It's developed in Java, so the only prerequisite is having JDK/JRE installed at any one of your development machine. Kindly have a try and please tell me whether it works for you. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Migrate Account Tool

0 votes
Hello Duo, This tool it is not working. it is giving me error like string index -1. All what I need to do is while export and import templates between sandbox and production not to lose the layout. Now when I import i am losing the radiobutton groups . Thanks, Nehme

Reply to: Migrate Account Tool

0 votes
Hi Nehme, I modified the tool and it won't lost radio button groups now when copying templates and layouts. The reason behind this is in order to retrieve all the extended fields like radio buttons in REST call, we need to set request header in this way: Accept: application/json; esl-api-version=11.18 (any version after 10.6) Otherwise, the response will miss radio button fields. You can download the latest tool here. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off