• cloudElephant
  • NEWBIE
  • 25 Points
  • Member since 2012

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

Hi, 

 

I am new to salesforce. Is it possible to implement the below syntax?

 

<apex:outputPanel rendered="{ ! (Field value == $CurrentPage.parameters.paramvalue) }" >

 

//  code

 

 

</apex:outputPanel>

 

I  tried in this way but its not working.

 

Thanks,

Raj

  • August 03, 2012
  • Like
  • 0

Hi.......

 

I want to display selected contacts in standard list view  and print those selected contacts in visualforce page .......

Hi,

           Am displaying contact names using a list. i put command link on contacts.

my requirement is i want queried records click onwards records.

 

for ex in my contact 100 records displaying when i click on 50th record i want to queried from this record

onwards.

 

is it possible using list index value? how?

 

 

 

help me.

Hi,

 

How do I add the API Enabled permisison to my users? I am an administrator of the system, and the Add Permission Sets shows that I do not have any permissions to add. I did sign up for the Developers Edition of Salesforce

 

Thanks.

 

Hi, 

 

I am trying to write a trigger that will count all the Case record for a Worker__c custom object record. I have about 6000 records that i need to update in one shot. Here is the error message that I keep getting: Compile Error: Initial term of field expression must be a concrete SObject: Integer on my last line of code. Here is my code:

 

trigger WorkerBulkUpdate on Worker__c (after update) {
    
    Set<ID> workerID = new Set<ID>();
    for (Worker__c worker: Trigger.new){
        workerID.add(worker.ID);
    
    Map<Worker__c, Integer> caseMap = new Map<Worker__c, Integer>();
    
    for(AggregateResult ar: [SELECT Worker__c, Count(ID) cnts FROM Case WHERE worker__c =: worker
                             GROUP BY Worker__c]){
        caseMap.put(worker, Integer.valueOf(ar.get('cnts')));
        
        if(worker.isUpdated__c == true){}
        worker.Number_of_all_cases__c = caseMap.get(worker).cnts;
    }
    }

 

Please help. Thank you. 

 

Hi -

 

I want to be able to attach a file from opportunity objects Notes and Attachments section to an email.

 

Example:

Fred logs in through partner portal.  He opens Opportunity XYZ and sees there are 6 attached pdf files.  He wants to select 1 of the files, attach it to an email and send it.


So far, the only way he can do it is to download the file to his desktop and work from there. 

 

Can we accomplish this without the download?

 

How?

Thanks!

hey, when i click the checkbox(list of checkboxes) i want to read the corresponding filed value.

 

here is my code:

<apex:outputpanel >
<table>
<apex:repeat value="{!parentlist}" var="p1">

<tr>
<td>
<h1><b> {!p1.statusName} </b></h1>
<apex:param name="statusopname" assignTo="{!newstatusname}" value="{!p1.statusName}"/>
</td>
</tr>
<tr><td>
<h5> <b> Next Status Option</b> </h5>
</td></tr>

<apex:repeat value="{!p1.statussubmenu}" var="p12" >

<td colspan='2'>

<apex:inputcheckbox value="{!p12.chklist}">{!p12.submenu}
<apex:param name="nextstatuschkbox" assignTo="{!chkbox}" value="{!p12.chklist}"/>
<apex:param name="nextstatusop" assignTo="{!nextstatus}" value="{!p12.submenu}"/>
<apex:actionSupport event="onclick" action="{!updatestatusoption}" rerender="statusdialog"/>
</apex:inputcheckbox>


</td>

</apex:repeat>
</tr>


</apex:repeat>

</table>
</apex:outputpanel>

here p1 is list of lists

the output is:

 

staus1

chbox status2 chkbox status3

chkbox status4 chkbox status4

 

status2

chkbox status1 chkbox status3

chkbox staus4  chkbox status5

...

now if i select status2 status 3under status1

i need to update the custom object with those values.

how can i get those values when click the checkbox

 

is there anyway to read values from those listof lists.

 

 

Hi, 

 

I am new to salesforce. Is it possible to implement the below syntax?

 

<apex:outputPanel rendered="{ ! (Field value == $CurrentPage.parameters.paramvalue) }" >

 

//  code

 

 

</apex:outputPanel>

 

I  tried in this way but its not working.

 

Thanks,

Raj

  • August 03, 2012
  • Like
  • 0