London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi,
You probably should use the IFormRepository and IFormDataRepository interfaces to retrieve forms.
Then you should be able to do:
var forms = _formRepository.Service.GetFormsInfo(null);
foreach (var form in forms){
...
}
Paul
I'm trying to get all the forms from the content repository and am trying this:
But I get this error on `GetItems`:
EPiServer.Core.InvalidPropertyValueException: 'Property string too long, max {1} chars'
Am I pulling this right? Seems odd to be getting this error on items that are already created.