I am currently working on a project with around 20+ different contour forms which of course are identified by their own unique GUID. I am writing some code which populates the data fields from the given contour form to an e-mail. Heres the "tricky" part which possibly is very easy to come by.. However..
How can I get the Form's guid programatically? - is this possible? - I could hardcode the GUIDs, but that is no where near a solution since the website needs to be as dynamic as possible.
I totally missunderstood the form and workflow concept, regarding whats being called. I figured that I didn't need the form's GUID when attaching the workflow. I was thinking in a way like: 1 unique form 1 unique workflow. However It came clear to me that I was making a workflow type, which could be used by any given form if set so. Totally my bad there.
Get Contour Form Guid programatically?
Hey fellow devs.
I am currently working on a project with around 20+ different contour forms which of course are identified by their own unique GUID. I am writing some code which populates the data fields from the given contour form to an e-mail. Heres the "tricky" part which possibly is very easy to come by.. However..
How can I get the Form's guid programatically? - is this possible? - I could hardcode the GUIDs, but that is no where near a solution since the website needs to be as dynamic as possible.
Hope it made a bit sense :-)
Anyone? .. I have thought if trying to request it via QueryString - but I dont knof if that is the smartest way to do it.
Comment author was deleted
Hi Mikkel what do you have from the form, it's name or..
If you create a workflow and attach it to a form you don't need to worry about the id, where are you placing your code?
Hi Tim and thank you for your time once again :-)
I totally missunderstood the form and workflow concept, regarding whats being called. I figured that I didn't need the form's GUID when attaching the workflow. I was thinking in a way like: 1 unique form 1 unique workflow. However It came clear to me that I was making a workflow type, which could be used by any given form if set so. Totally my bad there.
Comment author was deleted
Ok glad it's sorted :)
is working on a reply...