• Sandeep Kumar Singh
  • NEWBIE
  • 10 Points
  • Member since 2014
  • Developer
  • PD-Partners

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 4
    Replies
How can i read keywords or pdf content in Apex Class, i have stored pdf in salesforce Content. 
 
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.

 
I am reading Map<String, String> values on visualforce page inside javascript function but i am getting no values


var myVal = new Array();

function refreshfilterfieldmap(){
    <apex:repeat value="{!map_types}" var="key">
       <apex:repeat value="{!map_types[key]}" var="map">
           myVal['{!key}'] = '{!map}';
       </apex:repeat>
    </apex:repeat>
  }


can anyone help me how loop map in javascript function for all values of map.
How can i read keywords or pdf content in Apex Class, i have stored pdf in salesforce Content. 
 
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.

 
I am reading Map<String, String> values on visualforce page inside javascript function but i am getting no values


var myVal = new Array();

function refreshfilterfieldmap(){
    <apex:repeat value="{!map_types}" var="key">
       <apex:repeat value="{!map_types[key]}" var="map">
           myVal['{!key}'] = '{!map}';
       </apex:repeat>
    </apex:repeat>
  }


can anyone help me how loop map in javascript function for all values of map.

Hi everyone i have a list in my Apex class which has soql query result..

        

String query = 'SELECT  City,Latitude__c FROM Lead WHERE City LIKE \''+city+'%\'';
       
        leadrecords = Database.query(query);   

 

Eg :in the above line leadrecords is alist of lead type

 

    private List<Lead> leadrecords;

 

So now iam trying to pass this list to ajavascript variable so dat javascript variable should have query  output...but when i have done like this iam able to pass the list but when iam tryong to display that it is displaying the  ids  but i want to display the field city and latitude which are storesd in that list how to do it please someone help me with the solution... to javascript variable so how to pass this list to javascript variable