Get e-sign from echosign widget - echosign

I have added echosign widget in my site. I want to save the e-sign in my database. How can i do this?
As this is a widget it only contains on iframe. that's why i can't find anything to try it.
I want to save the e-sign when a user will click on "click to e-sign" button. Please help me to do this.

Since you have a widget you must be having a widget id as well.
You can use the apis to extract signature form data and then store it in your database.
API for extract form data from widget (https://secure.echosign.com/public/docs/restapi/v2;jsessionid=34BFBC3886E48E109EB7A36CDB9E91CD.ord-prod-app15#!/widgets/_get_7)

Related

Add an upload button to the frontend contact form

I try to add an upload button to the standard contact form in Orocommerce.
I extended the entity as described in
https://doc.oroinc.com/master/backend/entities/attachments/#backend-entity-attachments and the "contact us" entity now shows a button to add an attachment in the backend.
But I still dont't understand how to actually add an upload field to the frontend (preferably in costum forms, too).
How can I change the fields that are available in the frontend?
You can use the form type extension to add a field to the frontend form:
https://symfony.com/doc/4.4/form/create_form_type_extension.html

sitefinity form populate dropdownlist from API

I would like to create a form and add a dropdown list widget that will pull its choices from an API. I don't see any setting for that where would I call the API? what I was able to find is from 2014 so I think its outdated.
https://www.progress.com/blogs/sitefinity-custom-form-widget-with-dependent-dropdowns
It's cake... just use a regular input, then on the page use a Javascript widget and wire it up into a dropdown.
https://demos.telerik.com/kendo-ui/dropdownlist/remotedatasource
Use whatever JS component you want
Just a note though, give your input a cssclass name that will let you easily find it with the javascript.
I have a post on this https://www.sitefinitysteve.com/blog/binding-sitefinity-form-field-to-remote-data

submit form data to custom page for emailing

I created a custom form on a shopify page and when the submit button is pressed i want all the data within the form fields to go to another page that is a request form where the user would enter data and upon submission the data will be emailed instead of buying anything. How is this done in shopify? the page that i'm talking about is this one
https://pharaohmfg.com/collections/billiard-pool-tables/products/luxor-pool-table
You can redirect to another page with a custom form but the email will not be send since you are required to use /contact#contact_form as the form action.
One way to bypass that is to submit the form as a contact form and redirect the user upon form success. Please note that this way if you submit the form more than once you will get a google challenge for spam protection which is not user friendly.
Another way is to create a custom APP and using a proxy to submit to that page and handle the request from there.
Or an another option is to use a third party app of some sort and use their form builder ( hopefully allowing you to tie the product variants in some way to the actual form ).
There are free services like formspree that allows direct submissions to an email but I don't know what are the limits there.

Access lastMeasurement in HTML widget

I want to reference the last measurment of a device in a HTML widget.
The page https://www.cumulocity.com/guides/users-guide/cockpit/ give samples to access these.
My attempt to show the TemperatureMeasurement doesn't return a result:
{{devices[391].lastMeasurement.c8y_TemperatureMeasurement.T}}
This is currently not possible from the HTML widget. You can only access the data inside the managedObject from there.
Maybe try using the SCADA widget for that and create your custom content as SVG instead of HTML.

ODOO Communication between widgets

How can I communicate between multiple widgets?
I have 2 widgets on the same page, and when clicking on one of the first widget button, I need to modify the content of the second widget.
Can anyone help me?
Details:
I extend FieldMany2One (selectbox) and ListView. What I need is, when select an option in FieldMany2One, I need to update content in ListView. What I need is to get an instantiated widget into another widget.
In method reinit_value of FieldMany2One widget, I need to get instance of the ListView.
Best regards,
Pedro