I used to customize the list item forms (new/edit/display) in the farm solution which is quite straight forward. Now, I am working on a project which only allows sandboxed solutions to customize the list item forms. Obviously, I am no longer able to deploy the dll to the GAC or bin. I think of two solutions, one is to create a visual webpart which requires quite a bit of heavy lifting work. The other solution would be using InfoPath form which require less coding and has the flexibility of adding repeated sections. I kind of prefer the InfoPath form approach. But I am not sure whether there will be some kind of difficulties/limitations during the development.
Did anyone ever customize the list item forms in the sandboxed solutions? Could you share your experience?
Thanks,
Perry
Hi Stefan,
Thanks for the suggestion. It’s a great idea for centralizing the customization. Learned something new.
The form I am working on requires heavy customiztions and includes quite a bit of business logic. e.g. allow users to add/remove child list items in the form, when hit save, all the child list items will be saved to the child list along with the parent list. To accomplish this, I guess I still need to write coded web part, right? If yes, that goes back to the two options, visual web part or infopath form with code behind.
Thanks again,
Perry