function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

how to add content to a product in apex class ?

The standard functionality is there to add Content to Product.  The added contents will dispaly in the Related list (RelatedContent).


I wanna do the same thing from apex and display in a visualforce page.

What will be the SOQL to query the Contents for that perticular Product ?

Anybody have an idea about this ?