I have never used dynamic pages and want to test it out using a talent agency site I built years ago with over 100 different individual talent pages.
I now want to build a dynamic page to start using to add new talent. I have built the dynamic page & database. For procedure, I just want to make sure I am doing it correctly. For the original 100+ talent pages, I need to go into each page and assign each item to it’s corresponding database field, correct?
2 Likes
You don’t need to go to each pages to do it .I don’t know how you made the database and dynamic page now. so I will tell it from beginning the way I will do.
-
Click one of the page in the site structure and click set as dynamic page.
-
Do the basic dynamic page settings.
-
Then you can use 2 methods to connect the elements in the dynamic page to the database. Dataset and code method
3.a) in dataset method( is easier but difficult to manage later) just connect the elements to the dataset generated automatically in the dynamic page.
3.b) in code method (is little diffcult to set up for you I guess but will be easy to manage later) you need to write small code.
- When the elements are connected either using 3.a or 3.b add data to the databse for each page. So for 100 pages there will be 100 rows in the database…
Afterwards you can delete all the 99 pages. As now you have all the data in the database.
Thank you so much. That is how I was proceeding. Good to know I am going in the right direction. 