• Anuj Joshi 16
  • NEWBIE
  • 0 Points
  • Member since 2016

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

Hi All,
I am trying to download csv file when i click on button. But when i click button i am getting like this in csv file.

{"index":93 name:"HideProfileElvVideo" value:false}. Below is my code

VF Page:

<apex:page controller="MyCustomListViewController" contentType="application/vnd.ms-excel#filename.csv">{!header}
<!-- <apex:pageBlock >
<apex:pageBlockTable value="{!Contacts}" var="contact" id="pbt"> 
<apex:column >
<apex:outputField value="{!contact.con.Name}"/>
</apex:column>

<apex:column >
<apex:outputField value="{!contact.con.Account.name}"/> 
</apex:column>
<apex:column >
<apex:outputField value="{!contact.con.Phone}"/>
</apex:column> 
<apex:column >
<apex:outputField value="{!contact.con.Email}"/>
</apex:column> 
</apex:pageBlockTable> 
</apex:pageBlock> -->
<!-- <apex:repeat value="{!Contacts}" var="contact" >
{!contact.con.Name},{!contact.con.Account.name},{!contact.con.Phone},{!contact.con.Email}
</apex:repeat> -->

<apex:pageBlock >
<apex:pageBlockTable value="{!Contacts}" var="contact" id="pbt"> 
{!contact.con.Name},{!contact.con.Account.name},{!contact.con.Phone},{!contact.con.Email}

</apex:pageBlockTable> 
</apex:pageBlock> 
</apex:page>

permissionsets/Delegated_Admin_PS.permissionset -- Error: Permission Manage Public Documents depends on permission(s): Create Document, Delete Document, Edit Document, Read Document
Hi,

I have roles in one org which have to be migrated into other org. The migration has to be done in such a way that all roles should come under a specific role present in other org. If I deploy AS-IS the roles are created are being created at the bottom
Hi,

I am importing an account record into one org which has created date as 09-21-2015. But if i import it on 09-18-2016 it should not get updated when we have roll up summary field in account on opportunity. If i create an opportunity in that account the last modified date is changing. But i do not want it to be changed.

Regards,
Anuj
Hi,

There are some account records in one org which had been created in 2015. But when i migrate these records in other org using data loader in 2016 the date is changing. But i want to keep the same date. Can anyone provide me solution for this?

 
Hi,

There is an standard object called File. If i want to import and export files in the file object using data loader i cannot do it because File object is not there in the list in Data Loader. Please tell me how to export and import files.
Hi,

I want to insert an image when a button is clicked in visualforce page. Here is my code. Can anyone help me to find out what is wrong with the code?

<apex:page >
<script>
function getimage()
{
  <img id="theImage" src="https://upload.wikimedia.org/wikipedia/en/3/34/SFDC_logo.png" width="220" height="55"/>
}
</script>
 <apex:form >
 <apex:commandButton value="Get Image" onclick="getimage()"/>
 </apex:form>
</apex:page>

Hi All,
I am trying to download csv file when i click on button. But when i click button i am getting like this in csv file.

{"index":93 name:"HideProfileElvVideo" value:false}. Below is my code

VF Page:

<apex:page controller="MyCustomListViewController" contentType="application/vnd.ms-excel#filename.csv">{!header}
<!-- <apex:pageBlock >
<apex:pageBlockTable value="{!Contacts}" var="contact" id="pbt"> 
<apex:column >
<apex:outputField value="{!contact.con.Name}"/>
</apex:column>

<apex:column >
<apex:outputField value="{!contact.con.Account.name}"/> 
</apex:column>
<apex:column >
<apex:outputField value="{!contact.con.Phone}"/>
</apex:column> 
<apex:column >
<apex:outputField value="{!contact.con.Email}"/>
</apex:column> 
</apex:pageBlockTable> 
</apex:pageBlock> -->
<!-- <apex:repeat value="{!Contacts}" var="contact" >
{!contact.con.Name},{!contact.con.Account.name},{!contact.con.Phone},{!contact.con.Email}
</apex:repeat> -->

<apex:pageBlock >
<apex:pageBlockTable value="{!Contacts}" var="contact" id="pbt"> 
{!contact.con.Name},{!contact.con.Account.name},{!contact.con.Phone},{!contact.con.Email}

</apex:pageBlockTable> 
</apex:pageBlock> 
</apex:page>

permissionsets/Delegated_Admin_PS.permissionset -- Error: Permission Manage Public Documents depends on permission(s): Create Document, Delete Document, Edit Document, Read Document
How many ways i can call my Controller in visualforce ?  
I have one scenario by using validation rule i need to display error message on amount field like if amount > 10000 
and
by using workflow rule i need to update same amount field with rule criteria amount > 15000. which will take precedence first validation rule or workflow rule and why? how can i approach this one can anyone help me out with detail explanation.
Advance Thanks.
Iam new to customization, I want to know In  which situation we can go with List,set and map.
 
Hi,

There is an standard object called File. If i want to import and export files in the file object using data loader i cannot do it because File object is not there in the list in Data Loader. Please tell me how to export and import files.

Hi,

 

Can any one plz tell me the differences between DataLoader and Import wizard?