Sitecore 9 Forms Creation
up vote
1
down vote
favorite
Is there any way for creating a simple form in Sitecore through dynamically using code so that it appears in the Sitecore Forms UI?
Any suggestion appreciated.
sitecore-forms
add a comment |
up vote
1
down vote
favorite
Is there any way for creating a simple form in Sitecore through dynamically using code so that it appears in the Sitecore Forms UI?
Any suggestion appreciated.
sitecore-forms
Please add more details into your question. You want to have code that's generates form using Sitecore forms and then it appears in Sitecore Forms UI? Is this correct? Why you would like to create form dynamically using code?
– Peter Prochazka
Nov 13 at 12:35
yes your correct..
– RAJASEKARAN R
Nov 13 at 12:38
You want to have code that's generates form using Sitecore forms--exactly i want
– RAJASEKARAN R
Nov 13 at 12:38
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Is there any way for creating a simple form in Sitecore through dynamically using code so that it appears in the Sitecore Forms UI?
Any suggestion appreciated.
sitecore-forms
Is there any way for creating a simple form in Sitecore through dynamically using code so that it appears in the Sitecore Forms UI?
Any suggestion appreciated.
sitecore-forms
sitecore-forms
edited Nov 13 at 14:10
Dan Sinclair
888421
888421
asked Nov 13 at 12:26
RAJASEKARAN R
546
546
Please add more details into your question. You want to have code that's generates form using Sitecore forms and then it appears in Sitecore Forms UI? Is this correct? Why you would like to create form dynamically using code?
– Peter Prochazka
Nov 13 at 12:35
yes your correct..
– RAJASEKARAN R
Nov 13 at 12:38
You want to have code that's generates form using Sitecore forms--exactly i want
– RAJASEKARAN R
Nov 13 at 12:38
add a comment |
Please add more details into your question. You want to have code that's generates form using Sitecore forms and then it appears in Sitecore Forms UI? Is this correct? Why you would like to create form dynamically using code?
– Peter Prochazka
Nov 13 at 12:35
yes your correct..
– RAJASEKARAN R
Nov 13 at 12:38
You want to have code that's generates form using Sitecore forms--exactly i want
– RAJASEKARAN R
Nov 13 at 12:38
Please add more details into your question. You want to have code that's generates form using Sitecore forms and then it appears in Sitecore Forms UI? Is this correct? Why you would like to create form dynamically using code?
– Peter Prochazka
Nov 13 at 12:35
Please add more details into your question. You want to have code that's generates form using Sitecore forms and then it appears in Sitecore Forms UI? Is this correct? Why you would like to create form dynamically using code?
– Peter Prochazka
Nov 13 at 12:35
yes your correct..
– RAJASEKARAN R
Nov 13 at 12:38
yes your correct..
– RAJASEKARAN R
Nov 13 at 12:38
You want to have code that's generates form using Sitecore forms--exactly i want
– RAJASEKARAN R
Nov 13 at 12:38
You want to have code that's generates form using Sitecore forms--exactly i want
– RAJASEKARAN R
Nov 13 at 12:38
add a comment |
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
Though, I don't see the use case for your question, a form is just contructed by a tree of sitecore items. So in theory, you could create those items through code, like you would create other sitecore items with the Sitecore API.
To make it appear in the Forms UI, you would need to index them to the master index, as the list is builded from the master index.
If you would like to see the structure of the items you need to create, I would suggest to create a sample form through the UI, and get a look at the created items.
I want to migrate WFFM to Sitecore forms,if they used textbox i need to convert into Sitecore 9 forms textbox via code.So just i need to create a items like as usual in sitecore..is this creates a form?
– RAJASEKARAN R
Nov 13 at 12:47
1
A noble cause to create a converter tool. :-) Good luck, but I think it will be challenging because there are major differences in architecture and functionality between WFFM and Sitecore Forms.
– Bart Verdonck
Nov 13 at 12:50
okay.Thanks for your info and reply Bart..!
– RAJASEKARAN R
Nov 13 at 12:53
It might be easier to actually just have a person migrate the forms from one form to another. Unless you have 10,000 forms or some other ridiculous number of them.
– Jay S
Nov 13 at 15:01
Sitecore Powershell Extensions are your friend here - marketplace.sitecore.net/en/Modules/…
– Matthew FitzGerald-Chamberlain
Nov 13 at 15:34
|
show 3 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Though, I don't see the use case for your question, a form is just contructed by a tree of sitecore items. So in theory, you could create those items through code, like you would create other sitecore items with the Sitecore API.
To make it appear in the Forms UI, you would need to index them to the master index, as the list is builded from the master index.
If you would like to see the structure of the items you need to create, I would suggest to create a sample form through the UI, and get a look at the created items.
I want to migrate WFFM to Sitecore forms,if they used textbox i need to convert into Sitecore 9 forms textbox via code.So just i need to create a items like as usual in sitecore..is this creates a form?
– RAJASEKARAN R
Nov 13 at 12:47
1
A noble cause to create a converter tool. :-) Good luck, but I think it will be challenging because there are major differences in architecture and functionality between WFFM and Sitecore Forms.
– Bart Verdonck
Nov 13 at 12:50
okay.Thanks for your info and reply Bart..!
– RAJASEKARAN R
Nov 13 at 12:53
It might be easier to actually just have a person migrate the forms from one form to another. Unless you have 10,000 forms or some other ridiculous number of them.
– Jay S
Nov 13 at 15:01
Sitecore Powershell Extensions are your friend here - marketplace.sitecore.net/en/Modules/…
– Matthew FitzGerald-Chamberlain
Nov 13 at 15:34
|
show 3 more comments
up vote
4
down vote
accepted
Though, I don't see the use case for your question, a form is just contructed by a tree of sitecore items. So in theory, you could create those items through code, like you would create other sitecore items with the Sitecore API.
To make it appear in the Forms UI, you would need to index them to the master index, as the list is builded from the master index.
If you would like to see the structure of the items you need to create, I would suggest to create a sample form through the UI, and get a look at the created items.
I want to migrate WFFM to Sitecore forms,if they used textbox i need to convert into Sitecore 9 forms textbox via code.So just i need to create a items like as usual in sitecore..is this creates a form?
– RAJASEKARAN R
Nov 13 at 12:47
1
A noble cause to create a converter tool. :-) Good luck, but I think it will be challenging because there are major differences in architecture and functionality between WFFM and Sitecore Forms.
– Bart Verdonck
Nov 13 at 12:50
okay.Thanks for your info and reply Bart..!
– RAJASEKARAN R
Nov 13 at 12:53
It might be easier to actually just have a person migrate the forms from one form to another. Unless you have 10,000 forms or some other ridiculous number of them.
– Jay S
Nov 13 at 15:01
Sitecore Powershell Extensions are your friend here - marketplace.sitecore.net/en/Modules/…
– Matthew FitzGerald-Chamberlain
Nov 13 at 15:34
|
show 3 more comments
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Though, I don't see the use case for your question, a form is just contructed by a tree of sitecore items. So in theory, you could create those items through code, like you would create other sitecore items with the Sitecore API.
To make it appear in the Forms UI, you would need to index them to the master index, as the list is builded from the master index.
If you would like to see the structure of the items you need to create, I would suggest to create a sample form through the UI, and get a look at the created items.
Though, I don't see the use case for your question, a form is just contructed by a tree of sitecore items. So in theory, you could create those items through code, like you would create other sitecore items with the Sitecore API.
To make it appear in the Forms UI, you would need to index them to the master index, as the list is builded from the master index.
If you would like to see the structure of the items you need to create, I would suggest to create a sample form through the UI, and get a look at the created items.
answered Nov 13 at 12:43
Bart Verdonck
1,076114
1,076114
I want to migrate WFFM to Sitecore forms,if they used textbox i need to convert into Sitecore 9 forms textbox via code.So just i need to create a items like as usual in sitecore..is this creates a form?
– RAJASEKARAN R
Nov 13 at 12:47
1
A noble cause to create a converter tool. :-) Good luck, but I think it will be challenging because there are major differences in architecture and functionality between WFFM and Sitecore Forms.
– Bart Verdonck
Nov 13 at 12:50
okay.Thanks for your info and reply Bart..!
– RAJASEKARAN R
Nov 13 at 12:53
It might be easier to actually just have a person migrate the forms from one form to another. Unless you have 10,000 forms or some other ridiculous number of them.
– Jay S
Nov 13 at 15:01
Sitecore Powershell Extensions are your friend here - marketplace.sitecore.net/en/Modules/…
– Matthew FitzGerald-Chamberlain
Nov 13 at 15:34
|
show 3 more comments
I want to migrate WFFM to Sitecore forms,if they used textbox i need to convert into Sitecore 9 forms textbox via code.So just i need to create a items like as usual in sitecore..is this creates a form?
– RAJASEKARAN R
Nov 13 at 12:47
1
A noble cause to create a converter tool. :-) Good luck, but I think it will be challenging because there are major differences in architecture and functionality between WFFM and Sitecore Forms.
– Bart Verdonck
Nov 13 at 12:50
okay.Thanks for your info and reply Bart..!
– RAJASEKARAN R
Nov 13 at 12:53
It might be easier to actually just have a person migrate the forms from one form to another. Unless you have 10,000 forms or some other ridiculous number of them.
– Jay S
Nov 13 at 15:01
Sitecore Powershell Extensions are your friend here - marketplace.sitecore.net/en/Modules/…
– Matthew FitzGerald-Chamberlain
Nov 13 at 15:34
I want to migrate WFFM to Sitecore forms,if they used textbox i need to convert into Sitecore 9 forms textbox via code.So just i need to create a items like as usual in sitecore..is this creates a form?
– RAJASEKARAN R
Nov 13 at 12:47
I want to migrate WFFM to Sitecore forms,if they used textbox i need to convert into Sitecore 9 forms textbox via code.So just i need to create a items like as usual in sitecore..is this creates a form?
– RAJASEKARAN R
Nov 13 at 12:47
1
1
A noble cause to create a converter tool. :-) Good luck, but I think it will be challenging because there are major differences in architecture and functionality between WFFM and Sitecore Forms.
– Bart Verdonck
Nov 13 at 12:50
A noble cause to create a converter tool. :-) Good luck, but I think it will be challenging because there are major differences in architecture and functionality between WFFM and Sitecore Forms.
– Bart Verdonck
Nov 13 at 12:50
okay.Thanks for your info and reply Bart..!
– RAJASEKARAN R
Nov 13 at 12:53
okay.Thanks for your info and reply Bart..!
– RAJASEKARAN R
Nov 13 at 12:53
It might be easier to actually just have a person migrate the forms from one form to another. Unless you have 10,000 forms or some other ridiculous number of them.
– Jay S
Nov 13 at 15:01
It might be easier to actually just have a person migrate the forms from one form to another. Unless you have 10,000 forms or some other ridiculous number of them.
– Jay S
Nov 13 at 15:01
Sitecore Powershell Extensions are your friend here - marketplace.sitecore.net/en/Modules/…
– Matthew FitzGerald-Chamberlain
Nov 13 at 15:34
Sitecore Powershell Extensions are your friend here - marketplace.sitecore.net/en/Modules/…
– Matthew FitzGerald-Chamberlain
Nov 13 at 15:34
|
show 3 more comments
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f14900%2fsitecore-9-forms-creation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please add more details into your question. You want to have code that's generates form using Sitecore forms and then it appears in Sitecore Forms UI? Is this correct? Why you would like to create form dynamically using code?
– Peter Prochazka
Nov 13 at 12:35
yes your correct..
– RAJASEKARAN R
Nov 13 at 12:38
You want to have code that's generates form using Sitecore forms--exactly i want
– RAJASEKARAN R
Nov 13 at 12:38