How do I add an additional attribute to the discussion forum? Say I want to take the discussion forum and have an option to pick Yes or No from a pulldown and the value on the back end is called Sticky. How would I associate Sticky to the schema of the forum post element?
The discussion forums don't currently use the Forms Service, so this would be a manual code update, rather than mostly config.
The best advice I can give is to look at the source for the discussion post component (client-side JS) and the Repository webscript that receives the form data. The best way of adding additional fields is via aspects, as always.
I've added attributes to the user aspect, probably the wrong way as I never was able to get things working in a custom aspect. Since I assume this would be a fairly easy example, to add one additional attribute to the forum form, could you show me in 3.3 exactly how to create a custom aspect and tie it to the forum posts?
In the webscript, look for the form variable being set, then add the aspect and set the new property accordingly. In fact, there's an example in forum-posts.post.json.js already. Search for "// add the cm:syndication aspect"