I'm working on a project where the customer can create different type of events that has an Id. This Id is later on used as an parentId to the end customers when they registrate to the event the user has created. The registration to each event is connected to an "invite" that has a parentId and it creates a content in the backoffice.
Is there any way to make this Id dynamic, which makes it possible to have the same type of event for different years?
And how could this be connected to the content that the end user creates?
Create Umbraco Content with C#
Hi,
I'm working on a project where the customer can create different type of events that has an Id. This Id is later on used as an parentId to the end customers when they registrate to the event the user has created. The registration to each event is connected to an "invite" that has a parentId and it creates a content in the backoffice.
Is there any way to make this Id dynamic, which makes it possible to have the same type of event for different years?
And how could this be connected to the content that the end user creates?
Fixed the issue, used CurrentPage.Id to solve this one.
So instead of using _contentService.GetById(XXX); I used CurrentPage.Id and the CMS will solve this one out for you.
is working on a reply...