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
Sandeep Kumar SinghSandeep Kumar Singh 

Fields are not visible on site page

On my site page i have bind field using sboject field but my some fields(lookup, picklist) are not visible on site page. On site page profield i have given object level permission of that object and field visibility checkbox is checkd of that field in field level security.

in visulaforce page i have used like that 

<apex:inputField value="{!map_sobj[Rec.Id][Rec.Field_API_Name__c]}" rendered="{!Rec.Question_Type__c == 'Lookup'}" />

can anyonehelp me why field are not visible on site page.

 
Iqrar AhmedIqrar Ahmed
Hi sandeep,
Check your field level security in public access setting assure that youi have checked visible and then {!map_sobj[Rec.Id][Rec.Field_API_Name__c]} value alone without any input tag.
Sandeep Kumar SinghSandeep Kumar Singh
In Field level security of object in public Access Setting all fields are visible. All fields are showing on sie page except Lookup and picklist field.
Tony TannousTony Tannous
Dear,

Concerning the LookUp try to give read access to the source object of the lookup.

Regards