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
Tushar SethTushar Seth 

How to access Task Fields in Force.com Site

Hello Mates,

 

I have created a Force.com site and in that I am trying to access Task fields on Sites.

 

My Scenario In VF

A Simple form Page :  I am storing the information from the site into a custom Object

Anonymous users have to fill the form fields and they also have to fill their Activities(Task) that willassociate with Custom Object after record get saved.

 

What I have to do in VF Page?

In VF Page, I have to show Acitivity Fields before it get associated with the custom obj record.

 

Object Relationship

Task is associated with Custom Object through WhatID.

 

What I did

Records are creating in custom object but users are not able to see the Activity fields  

1) In OWD

Custom Object have Public Read/Write Accessibility 

Activity, I have changed Default Access from Private to Controlled by Parent

 

2) In Guest User Profile

 Field Level Security :I have given full access to Task field

Custom Object Permissions : Custom Object have full access

 

 

What I need?

I want to display Activity Fields to be accessible on Force.com SIte for Anonymous User.

 

 

Thanks,

in advance