• ranga
  • NEWBIE
  • 25 Points
  • Member since 2011

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 8
    Replies

 

Hi all,

I have tried rendering another language (Sinhalese - Sri lankan) as a pdf using renderAs attribute. But all the charcters in sinhalees were skipped during the process. Wonder, anyone could help me in this.

<apex:page renderAs="pdf">
<html>
 <head>
  <style> 
     body {font-family: Arial Unicode MS;}
  </style>
 </head>
  <center>
  <h1>This is a test</h1>
  <h2> ඹඨෂ්‍යඍඵඔෂ </h2>
  <apex:outputText>Hello World!</apex:outputText>
  <br></br>
  <apex:outputText>ඹඨෂ්‍යඍඵඔෂ </apex:outputText>
  </center>
</html>
</apex:page>

 

  • November 15, 2011
  • Like
  • 0

Hi all,

I have tried rendering another language (Sinhalese - Sri lankan) as a pdf using renderAs attribute. But all the charcters in sinhalees were skipped during the process. Wonder anyone could help me in this.

<apex:page renderAs="pdf">
<html>
 <head>
  <style> 
     body {font-family: Arial Unicode MS;}
  </style>
 </head>
  <center>
  <h1>This is a test</h1>
  <h2> ඹඨෂ්‍යඍඵඔෂ </h2>
  <apex:outputText>Hello World!</apex:outputText>
  <br></br>
  <apex:outputText>ඹඨෂ්‍යඍඵඔෂ </apex:outputText>
  </center>
</html>
</apex:page>

 

 

  • November 15, 2011
  • Like
  • 0

Found a nice way to render visualforce input fields, output fields etc. based on object level security.

 

You just have to use render="{!$ObjectType.custome_object__c.accessible}" 

for example:

If you want to render Skill__c object only for the users who can access that object, 

 

<apex:pageBlockSectionItem rendered="{!$ObjectType.Skill__c.accessible}"> this will do it for you.

 

http://forcearchitects.deliveredinnovation.com/2011/02/05/render-visualforce-components-dynamically-based-on-object-level-security/

  • October 31, 2011
  • Like
  • 0

Hi everyone,

Is there a way to get an list of all the objects in the development org.? I have tried using a schema method as below,

 

Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();

 

But I can only obtain a Map of sObjectType.

 

Thanks. 

 

  • October 29, 2011
  • Like
  • 0

 

Hi all,

I'm wondering how the ESAPI, SFDCAccessController could be used to enforce object level security. For an example, Is there a way to get a list of accessible objects to a paticular user (According to that users' profile).  

Thanks in advance.

  • October 28, 2011
  • Like
  • 0

Hi all,

I'm wondering how the ESAPI, SFDCAccessController could be used to enforce object level security. For an example, Is there a way to get a list of accessible objects to a paticular user (According to that users' profile).  

Thanks in advance.

  • October 28, 2011
  • Like
  • 0

 

Hello,

 

How to get Chatter Bubbles App with code??

 

Thanks,

Devendra

 

Hi all,

I have tried rendering another language (Sinhalese - Sri lankan) as a pdf using renderAs attribute. But all the charcters in sinhalees were skipped during the process. Wonder, anyone could help me in this.

<apex:page renderAs="pdf">
<html>
 <head>
  <style> 
     body {font-family: Arial Unicode MS;}
  </style>
 </head>
  <center>
  <h1>This is a test</h1>
  <h2> ඹඨෂ්‍යඍඵඔෂ </h2>
  <apex:outputText>Hello World!</apex:outputText>
  <br></br>
  <apex:outputText>ඹඨෂ්‍යඍඵඔෂ </apex:outputText>
  </center>
</html>
</apex:page>

 

  • November 15, 2011
  • Like
  • 0

Hi all,

I have tried rendering another language (Sinhalese - Sri lankan) as a pdf using renderAs attribute. But all the charcters in sinhalees were skipped during the process. Wonder anyone could help me in this.

<apex:page renderAs="pdf">
<html>
 <head>
  <style> 
     body {font-family: Arial Unicode MS;}
  </style>
 </head>
  <center>
  <h1>This is a test</h1>
  <h2> ඹඨෂ්‍යඍඵඔෂ </h2>
  <apex:outputText>Hello World!</apex:outputText>
  <br></br>
  <apex:outputText>ඹඨෂ්‍යඍඵඔෂ </apex:outputText>
  </center>
</html>
</apex:page>

 

 

  • November 15, 2011
  • Like
  • 0

Hi everyone,

Is there a way to get an list of all the objects in the development org.? I have tried using a schema method as below,

 

Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();

 

But I can only obtain a Map of sObjectType.

 

Thanks. 

 

  • October 29, 2011
  • Like
  • 0

Hi all,

I'm wondering how the ESAPI, SFDCAccessController could be used to enforce object level security. For an example, Is there a way to get a list of accessible objects to a paticular user (According to that users' profile).  

Thanks in advance.

  • October 28, 2011
  • Like
  • 0
Hi All,

i need to display related list of opportunities on visual force page with "created date" field. I am using Account as StandardController for the page.
My issue is regarding the format of CreatedDate field, by default it shows the value with time stamp but the desired format is 'dd/mm/yyyy'.
how can i change its format on Visual force page directly.


Thanks
Ajit Verma