• Kumaresan M 2
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 12
    Questions
  • 22
    Replies
Hi Everyone,

Is there a way to export attachments (with filter conditions using soql) from salesforce into local drive (desktop)  ? We need to print all attachments and we doesn't want to manually open each and every attachment and send to print.
Hi All,

I have a requirement to print list documents thats been stored as attachments in salesforce without opening multiple times and click CTRL+P.

Is there a way to send all the docuemnts to print with single go?

Thanks & Regards,
Kumaresan M
We have one Visual force page, which redirects users to "The page you have submitted is invalid seeion" Standard VF page from salesforce. But our clients dont want this standard page. There want to redirect there users to have some explicit page. not the standard one.

Is there any way to do that ?

(Note: its not a site. Normal Salesforce Platform users)

Thanks & Regards,
Kumaresan M
Hi All,

I am using Export data functionlaity through Visual force through Content Type. I am getting some dump data (View state realted content at the end of the excel sheet which is downloaded from page) But this is happening to some users, some users not getting this. Looking weird here.. If any one has any suggestion please post your answers ASAP.

User-added image
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AxUOIA0

Please help the on the question created in that link.. 
In my project we have custom pop up section which will render during "onmouseover" event and it will go off if "onmouseout" happens. Its implemented in Javascript. (No action functions). The issue that we are facing here is we do want to scroll down/up in the pop up section, on which i need help in doing ? As soon as i moved out from the element, pop up goes off. Please help me to get any ideas ?

User-added image

Target element code:
<apex:outputPanel rendered="{!c.isSecondaryControlsPresent}" id="controls"  onmouseover="showMultFunction(this);" onmouseout="showMultFunction1(this);" onclick="javascript:void(0);">

In js fucntion it will make some other panel to render in Vf page.

Hi All,

I need to display a value from MAP<String,Decimal> in VF page. But i am refering two variables as a key in repeat like (Name +'-'+Product name). I am getting error in experrion..,

Here is my VF code:
<apex:pageBlockTable value="{!commProductAgentFinal}" var="r">
                        <apex:column value="{!r.name}">
                            <apex:facet name="header">Carrier Name</apex:facet>
                        </apex:column>  
                        <apex:column value="{!r.Product__r.name}">
                            <apex:facet name="header">Product Name</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Option__c}">
                            <apex:facet name="header">Option</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Beginning_Age__c}">
                            <apex:facet name="header">Beg age</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Ending_Age__c}">
                            <apex:facet name="header">End age</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Beg_Face_Amount__c}">
                            <apex:facet name="header">Beg Face</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.End_Face_Amount__c}">
                            <apex:facet name="header">End Face</apex:facet>
                        </apex:column>
                        <apex:column value="{!FinalMap[{!r.name}+{!r.Product__r.name}]}">
                            <apex:facet name="header">Total points</apex:facet>
                        </apex:column>          
                    </apex:pageBlockTable>

Controller:
public Map<string,Decimal> FinalMap {get; set;}

Error:Map key r.name-r.Product__r.name not found in map

Error is in expression '{!FinalMap['r.name-r.Product__r.name']}' in component <apex:column> in page commission_schedule

Can anyone help on this ?
Hi Folks,

I am having an issue in one of the VF page that i created. I mentioned the issue below,

This problem exists in that particular VF page alone, not on other VF pages. I am having 2 tabs in that page. Each tab is linked with each VF page. The first page actions are properly calling. But when i click secnd tab, the second VF page is loading properly. But i wont even able to go first tab by clicking first tab from second VF page. No action is calling here.. All objects, fields, Pages, Classes permissions are given to related permission set. No use.. When i try to access via System Admin, All actions are calling perfectly.. No Errors in Debug log as well..,

When i try to click or call something in that VF page, My Controller VAriables are refreshing. No method calling... 

Please help me resolve this.. Very Strange..

Thanks,
Kumaresan M
I have a method in command link, i am passing parameters through <apex:params> with name attribute and retriving from page parameters, which is working in my dev environment, when i try to move QA, its not calling the respective method, Very Strange...!!!!

VF Code:
<apex:commandLink action="{!showMultiSelectionPopUp}" value="{!b.name}" style="color:#2B8BD5;" rendered="{!b.recordtype='Multi Value Option Capture'}">
          <apex:param value="{!s.SchemeId}" name="selectedSchemeinMultiListControl"/>
          <apex:param value="{!b.RecordId}" name="selectedControlId"/>
          <apex:param value="{!s.SourceId}" name="selectedSourceId"/>
</apex:commandLink>

Apex Code: 
public string selectedSchemeinMultiListControl{get; set;}
public string selectedControlId{get; set;}
public string selectedSourceId {get; set;}

public pageReference showMultiSelectionPopUp(){
            selectedSchemeinMultiListControl=null;
            selectedControlId=null;
            selectedSourceId=null;
           
            selectedSchemeinMultiListControl= ApexPages.Currentpage().getParameters().get('selectedSchemeinMultiListControl');       
            selectedControlId= ApexPages.Currentpage().getParameters().get('selectedControlId');
            selectedSourceId= ApexPages.Currentpage().getParameters().get('selectedSourceId');
            return null;
}

Please help me..

We are facing issues in loadiung data's into salesforce with batch apex. So we are tring to utilise bulk API to do so.. It seems we dont have bulk api in apex language ? 
When i try to delete a parent record which has 70k records (in look up relation, parent is not mandatory) system taking too much time to delete parent record. Finally i am getting time limit exception in salesforce. I want parent needs to delete very fastly via VF page? Please suggest any solution. I dont want to use batch and/or any async process to do this?
I am getting error "UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record: []" when i try to insert detail record.
Eligible Employee is detail object, Master is inserted already.
Here is my code, where i am looping string list and calling future methods to process more records asynchrously: 
                    set<string> str=new  set<string>();  
                    List<string> strLst=new  List<string>();            
                    Integer w=0;
                    for(string l:LoadedMSIDList){
                        ResultString=ResultString+l+',';
                        Eligible_Employees__c e=new Eligible_Employees__c();
                        if(EmployeeMap.containskey(l)){                  
                                str.add(l);
                                strLst.add(l);
                                ResultString=ResultString+'Successfully inserted into system \n';
                        }
                        else{
                            ResultString=ResultString+'Invalid MSID \n';
                        }
                        w++;
                        if(strLst.size()>1999 || w==LoadedMSIDList.size()){
                            DMLbatch(str,strLst,EligibilityRecord.id);
                            str.clear();
                            strLst.clear();
                        }
                                                         
                    }


Here is my future method which will insert detail records asynchronuosly:

@future(callout=false)
    public static void DMLbatch(Set<string> str,List<String> strLst,string myId){
        List<Eligible_Employees__c> EligibleEmployeeList1=new List<Eligible_Employees__c>();
        Map<string,Employee__c> EmployeeMaps=new Map<string,Employee__c>();
        List<Employee__c> EmpLst=WaiversUtility.getEmployeeListonMSID(str);       
        for(Employee__c emp:EmpLst){
            EmployeeMaps.put(emp.Emp_ID__c,emp);                       
        }      
        for(string s:strLst){    
            Eligible_Employees__c e1=new Eligible_Employees__c();
            e1.Employee__c=EmployeeMaps.get(s).id;
            e1.Eligibility__c=myId;
            EligibleEmployeeList1.add(e1);
        } 
        insert EligibleEmployeeList1;
    }

Please help me on this to resolve this.
Hi Everyone,

Is there a way to export attachments (with filter conditions using soql) from salesforce into local drive (desktop)  ? We need to print all attachments and we doesn't want to manually open each and every attachment and send to print.
Hi All,

I have a requirement to print list documents thats been stored as attachments in salesforce without opening multiple times and click CTRL+P.

Is there a way to send all the docuemnts to print with single go?

Thanks & Regards,
Kumaresan M
We have one Visual force page, which redirects users to "The page you have submitted is invalid seeion" Standard VF page from salesforce. But our clients dont want this standard page. There want to redirect there users to have some explicit page. not the standard one.

Is there any way to do that ?

(Note: its not a site. Normal Salesforce Platform users)

Thanks & Regards,
Kumaresan M
Hi All,

I am using Export data functionlaity through Visual force through Content Type. I am getting some dump data (View state realted content at the end of the excel sheet which is downloaded from page) But this is happening to some users, some users not getting this. Looking weird here.. If any one has any suggestion please post your answers ASAP.

User-added image
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AxUOIA0

Please help the on the question created in that link.. 
In my project we have custom pop up section which will render during "onmouseover" event and it will go off if "onmouseout" happens. Its implemented in Javascript. (No action functions). The issue that we are facing here is we do want to scroll down/up in the pop up section, on which i need help in doing ? As soon as i moved out from the element, pop up goes off. Please help me to get any ideas ?

User-added image

Target element code:
<apex:outputPanel rendered="{!c.isSecondaryControlsPresent}" id="controls"  onmouseover="showMultFunction(this);" onmouseout="showMultFunction1(this);" onclick="javascript:void(0);">

In js fucntion it will make some other panel to render in Vf page.

Hi All,

I need to display a value from MAP<String,Decimal> in VF page. But i am refering two variables as a key in repeat like (Name +'-'+Product name). I am getting error in experrion..,

Here is my VF code:
<apex:pageBlockTable value="{!commProductAgentFinal}" var="r">
                        <apex:column value="{!r.name}">
                            <apex:facet name="header">Carrier Name</apex:facet>
                        </apex:column>  
                        <apex:column value="{!r.Product__r.name}">
                            <apex:facet name="header">Product Name</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Option__c}">
                            <apex:facet name="header">Option</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Beginning_Age__c}">
                            <apex:facet name="header">Beg age</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Ending_Age__c}">
                            <apex:facet name="header">End age</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.Beg_Face_Amount__c}">
                            <apex:facet name="header">Beg Face</apex:facet>
                        </apex:column>
                        <apex:column value="{!r.End_Face_Amount__c}">
                            <apex:facet name="header">End Face</apex:facet>
                        </apex:column>
                        <apex:column value="{!FinalMap[{!r.name}+{!r.Product__r.name}]}">
                            <apex:facet name="header">Total points</apex:facet>
                        </apex:column>          
                    </apex:pageBlockTable>

Controller:
public Map<string,Decimal> FinalMap {get; set;}

Error:Map key r.name-r.Product__r.name not found in map

Error is in expression '{!FinalMap['r.name-r.Product__r.name']}' in component <apex:column> in page commission_schedule

Can anyone help on this ?
Hi Folks,

I am having an issue in one of the VF page that i created. I mentioned the issue below,

This problem exists in that particular VF page alone, not on other VF pages. I am having 2 tabs in that page. Each tab is linked with each VF page. The first page actions are properly calling. But when i click secnd tab, the second VF page is loading properly. But i wont even able to go first tab by clicking first tab from second VF page. No action is calling here.. All objects, fields, Pages, Classes permissions are given to related permission set. No use.. When i try to access via System Admin, All actions are calling perfectly.. No Errors in Debug log as well..,

When i try to click or call something in that VF page, My Controller VAriables are refreshing. No method calling... 

Please help me resolve this.. Very Strange..

Thanks,
Kumaresan M
I have a method in command link, i am passing parameters through <apex:params> with name attribute and retriving from page parameters, which is working in my dev environment, when i try to move QA, its not calling the respective method, Very Strange...!!!!

VF Code:
<apex:commandLink action="{!showMultiSelectionPopUp}" value="{!b.name}" style="color:#2B8BD5;" rendered="{!b.recordtype='Multi Value Option Capture'}">
          <apex:param value="{!s.SchemeId}" name="selectedSchemeinMultiListControl"/>
          <apex:param value="{!b.RecordId}" name="selectedControlId"/>
          <apex:param value="{!s.SourceId}" name="selectedSourceId"/>
</apex:commandLink>

Apex Code: 
public string selectedSchemeinMultiListControl{get; set;}
public string selectedControlId{get; set;}
public string selectedSourceId {get; set;}

public pageReference showMultiSelectionPopUp(){
            selectedSchemeinMultiListControl=null;
            selectedControlId=null;
            selectedSourceId=null;
           
            selectedSchemeinMultiListControl= ApexPages.Currentpage().getParameters().get('selectedSchemeinMultiListControl');       
            selectedControlId= ApexPages.Currentpage().getParameters().get('selectedControlId');
            selectedSourceId= ApexPages.Currentpage().getParameters().get('selectedSourceId');
            return null;
}

Please help me..

When i try to delete a parent record which has 70k records (in look up relation, parent is not mandatory) system taking too much time to delete parent record. Finally i am getting time limit exception in salesforce. I want parent needs to delete very fastly via VF page? Please suggest any solution. I dont want to use batch and/or any async process to do this?

how do i make a pop up window after pointing or clicking on something. for example there is a table with a list of  customers. if you hover your mouse over customer name or click on cutomer name, a pop up window will apear showing information about that customer.

how do i make a pop up window after pointing or clicking on something. for example there is a table with a list of  customers. if you hover your mouse over customer name or click on cutomer name, a pop up window will apear showing information about that customer.