Im not sure if i understood your question but what i have done is created a Contour form with two fields and set the workflow with one item (email) under "When the form has been Submitted".. I then published the page.
Ok from what i think your asking i believe a workflow of the type Name (this is the value i gave the Name property in my class) is present under the submitted workflow.
Although this workflow type only has Name, Active and Type and nothing else??
Thats the problem as when i click submit it doesnt - whether this makes a difference or not i thought to mention that i have a few entries/types under "When the form has been Submitted" but i cant seem to get to the breakpoint?
One other point i want to make is in VS 2010, hovering over the breakpoint set i noticed the message "The breakpoint will not currently be hit. No symbols have been loaded for this document.".
I believe that message usually disappears when the class loads but not sure if i need to give this message any extra attention?
Debug mode
I have an Umbraco site version 4.7.1. I installed Contour version 1.1.12. I open the site in Visual Studio 2010 (File > Open > Website).
I right click the appcode folder and add a class with the below code
In VS 2010 i clicked Debug > Attach to Process and find the browser and port the site is running on and attach it.
I then load the site and create a Contour contact form, view the webpage, enter all the required info and click submit.
The problem is the breakpoint never hits (breakpoint are set on public ContourModifications and both public override statements.
What would i need to do in order to get into Debug mode please?
Thanks
Anyone??
Comment author was deleted
Did you attach the workflow to a form?
Im not sure if i understood your question but what i have done is created a Contour form with two fields and set the workflow with one item (email) under "When the form has been Submitted".. I then published the page.
Thanks
Comment author was deleted
Ok did you attach your custom workflow to the form? And the submit the form, it should hit the breakpoint at that stage
Im not so sure if i have or not. How could i ensure i have or how would i attach my custom workflow to the form?
When i click submit at present it goes to the "thank you" page, whilst in debug mode and no breakpoint is hit.
Comment author was deleted
In the backoffice, expand the form, you should see a workflows node, there on the submitted state make sure a worklfow of your type is present
Some details: http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Editor/Attaching-Workflows/
Ok from what i think your asking i believe a workflow of the type Name (this is the value i gave the Name property in my class) is present under the submitted workflow.
Although this workflow type only has Name, Active and Type and nothing else??
Comment author was deleted
Yeah that makes sense since you don't have any additional settings on your type
So now when you submit the form the code in your workflow should get hit
Thats the problem as when i click submit it doesnt - whether this makes a difference or not i thought to mention that i have a few entries/types under "When the form has been Submitted" but i cant seem to get to the breakpoint?
One other point i want to make is in VS 2010, hovering over the breakpoint set i noticed the message "The breakpoint will not currently be hit. No symbols have been loaded for this document.".
I believe that message usually disappears when the class loads but not sure if i need to give this message any extra attention?
is working on a reply...