Is it possible to create a new member using Contour, if so are there any examples anywhere?
I need to create a simple registration form that has a extra data per member, like telephone number, job title etc. (these are set up as properties of the member type).
You can create your own workflow type which takes the form fields and based on that info creates a new member using the available member api or most preferable the membership api.
Can' really show an example, but think the developer docs do have some examples on custom workflows (p11 - Adding a workflow type to Umbraco Contour)
Thanks for your reply, however if I need to write some .NET to interface with the API I may was well just write a registration form in a user control and access the API there.
There doesn't seem to be a easy way to create a custom registration form, just seems like Contour would be a good place for it?
i am having trouble getting your sample code to work out for me... i am NOT a developer, but have access to visual studio... getting various errors related to Library, Error 3 Expected class, delegate, enum, interface, or struct the section regarding .RecordValue
plus the support methods... not sure where they go, etc. any guidance here would be greatly appreciated!
I have read the Nibble blog post (http://www.nibble.be/?p=107)
The problem I'm facing though is that I have two member types: 'jobseeker' and 'employer'
Based on the answer of the user to a question on the registration form: "I'm looking for a job" or "I'm looking for a job candidate" , the Contour Workflow should add the user to the 'jobseeker' member type or 'employer' member type.
Create a new member via contour?
Hi,
Is it possible to create a new member using Contour, if so are there any examples anywhere?
I need to create a simple registration form that has a extra data per member, like telephone number, job title etc. (these are set up as properties of the member type).
Many thanks
Rich
Rich,
You can create your own workflow type which takes the form fields and based on that info creates a new member using the available member api or most preferable the membership api.
Can' really show an example, but think the developer docs do have some examples on custom workflows (p11 - Adding a workflow type to Umbraco Contour)
Hope this helps.
Regards,
/Dirk
Hey Dirk,
Thanks for your reply, however if I need to write some .NET to interface with the API I may was well just write a registration form in a user control and access the API there.
There doesn't seem to be a easy way to create a custom registration form, just seems like Contour would be a good place for it?
Many thanks
Rich
Hi,
here's an example workflow. It features configurable membertypes. Note that it does use email as login name.
The support methods
Hope this helps,
Harald.
Thanks a lot Harald and Drik. I will have a look on the document and aslo the code (Harald) and will let you know the progress.
your quick reply is much appreciated.
@Harald..
i am having trouble getting your sample code to work out for me... i am NOT a developer, but have access to visual studio... getting various errors related to Library, Error 3 Expected class, delegate, enum, interface, or struct the section regarding .RecordValue
plus the support methods... not sure where they go, etc. any guidance here would be greatly appreciated!
for googlers stumbling on this thread:
http://www.nibble.be/?p=107
Hi,
I have read the Nibble blog post (http://www.nibble.be/?p=107)
The problem I'm facing though is that I have two member types: 'jobseeker' and 'employer'
Based on the answer of the user to a question on the registration form: "I'm looking for a job" or "I'm looking for a job candidate" , the Contour Workflow should add the user to the 'jobseeker' member type or 'employer' member type.
Is this possible with Contour?
Thanks for your advice,
Anthony
is working on a reply...