You need to sign in to do that
Don't have an account?
ARJ
Add attachments to Idea Base Theme VF page?
I have enabled Idea base theme in my org. I have configured it and have made few changes to IdeaPost VF page. Brought in custom fields from Idea object. Now as per my requirement, user should be able to attach a file which posting new idea. However, I am not able to use fields like AttachmentBody, AttachmentName, AttachmentContentType, AttachmentLength in idea Base Theme VF pages.
The error message I see is "Error: Invalid field AttachmentContentType for SObject Idea". It seems, Base Theme VF pages do not recognize these fields (I think VF is a VF, be it on BT or plain VF, guess I am wrong????). Whereas I am using these fields in my plain (non Base themed) VF pages build in Idea Standard Controller correctly.
Can anybody help?
The error message I see is "Error: Invalid field AttachmentContentType for SObject Idea". It seems, Base Theme VF pages do not recognize these fields (I think VF is a VF, be it on BT or plain VF, guess I am wrong????). Whereas I am using these fields in my plain (non Base themed) VF pages build in Idea Standard Controller correctly.
Can anybody help?
ID of the parent object of the attachment. The following objects are supported as parents of attachments:Account
Asset, Campaign, Case, Contact, Contract, Custom objects, EmailMessage, EmailTemplate, Event, Lead, Opportunity, Product2, Solution, Task.
Here is the link: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_attachment.htm
Any other option? Why despite Idea object having standard field named attachment, salesforce base theme do not recognize them?
Please let me know if anybody knows about it.