• priya burghate
  • NEWBIE
  • 30 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 7
    Replies
Hi All,
I have 3 classes in and their  individual vf page...In all the classes Categorey,Category Area,Category cluster fields are there which are dependent picklist . And I want to create one component where objectname and there fields are taken automatically through the vf page . whereever i added this component only those object fields which are corresponding to that vf page should dislplay...
can anyone please help?

Thax
Priya
Can anyone please give me details about garlic.js which is used for preserving data values in forms.
Please me provide explanation and coding link .....
Hello everyone,
Can anyone tell me what is action remoting and how it works and in which conditions it will be suitable?
If any suggested links ,will be useful for me...
thanx ...:-)
Hello,
Ive  a form and there are some fields and submit button  in that form. Every time whenever i insert values in the field and there occure internet failure and every time when i am trying to open that form i should get the earlier filled form which i dont submit.
Can someone please tell me how to store browser values in cache?

Thanks in advanced
hello ,
Im trying to insert data in salesforce using webservice java
Im getting an error 
" Failed to send request to https://login.salesforce.com/services/Soap/c/32.0/"

ive written endpoint as config.setAuthEndpoint("https://login.salesforce.com/services/Soap/c/32.0/");  

but while trying same code without lan then it will success.
Only problem is that when using LAN
I want to create pie chart account for owner having there accounts but it shows Invalid field 'Owner.name' error in aggregateResult..
Can anyone plz help to sort out?
public with sharing class Graph1 
{
    
 public List<PieWedgeData> getPieData1() {
        List<PieWedgeData> data = new List<PieWedgeData>();
        List<AggregateResult> groupedResults = [SELECT Owner.name, count(name)cnt
                                              FROM Account
                                              GROUP BY Owner.name];
        for (AggregateResult ar : groupedResults)  {
            data.add(new PieWedgeData(String.valueOf(ar.get('Owner.name')),Integer.valueOf(ar.get('cnt'))));
        
    }
    return data;
    }

    // Wrapper class
    public class PieWedgeData {

        public String name { get; set; }
        public Integer cnt { get; set; }

        public PieWedgeData(String name, Integer data) {
            this.name = name;
            this.cnt = cnt;
        }
        }
   }
Hello everyone ,
I want to write a delete trigger on SPETemplate which is my custom object so that User can  only delete records whose stage__c='draft'.
i have written the following piece of code but it wont work...
suggetions are most welcome....

trigger deleteDraftTemplate on SPE_SPETemplate__c (before delete) {
    
    SPE_SPETemplate__c[] recs=new List<SPE_SPETemplate__c>();
for(SPE_SPETemplate__c rec:trigger.old)
{
  if(rec.Stage__c=='Draft')
  {
            SPE_SPETemplate__c tempSpeTemp=new SPE_SPETemplate__c(id=rec.id);
            recs.add(tempSpeTemp);
            //recs.add(rec);
  }
}
delete recs;  

}
Hello All,
 i want to insert records in salesforce through data loader command prompt as batch at a perticular time.
how to create batch file to insert records in salesforce from dataloader through command prompt....
suggestions are most welcome......
Hi all,
I want to know
how to use lookup relationship in inserting the accounts in salesforce from dataloader through command promt.
Hi all,
Im inserting data from dataloader through command line
ive followed following steps
1.erypt -g test
2.encrypt -e mypass+security token "Path of my key.txt"
3.write process.xml as below

process-confg.xml
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
    <bean id="accountInsert"
          class="com.salesforce.dataloader.process.ProcessRunner"
          singleton="false">
        <description> uploads them to salesforce using 'upsert'.</description>
        <property name="name" value="accountMasterProcess"/>
        <property name="configOverrideMap">
            <map>
                <entry key="sfdc.debugMessages" value="true"/>
                <entry key="sfdc.debugMessagesFile" value="C:\Users\a579510\Desktop\dl\samples\status\accountMasterSoapTrace.log"/>
                <entry key="sfdc.endpoint" value="https://login.salesforce.com"/>
                <entry key="sfdc.username" value="priya.burghate@atos.net"/>
                <!-- password below has been encrypted using key file, therefore it will not work without the key setting: process.encryptionKeyFile
                the password is not a valid encrypted value, please generate the real value using encrypt.bat utility -->
                <entry key="sfdc.password" value="f128334f5306b5d53ea345ba07b816f8557994a62dcdc346fdf664bb2c35836c1d13f1fb4a37933f"/>
                <entry key="process.encryptionKeyFile" value="C:\Users\a579510\Desktop\dl\samples\conf\sample.txt"/>
                <entry key="sfdc.timeoutSecs" value="600"/>
                <entry key="sfdc.loadBatchSize" value="200"/>
                <entry key="sfdc.externalIdField" value="Oracle_Id__c"/>
                <entry key="sfdc.entity" value="Account"/>
                <entry key="process.operation" value="upsert"/>
                <entry key="process.mappingFile" value="C:\Users\a579510\Desktop\dl\samples\conf\accountInsertMap.sdl"/>
                <entry key="dataAccess.name" value="C:\Users\a579510\Desktop\dl\samples\data\accountData1.csv"/>
    <entry key="process.outputError" value="C:\Users\a579510\Desktop\dl\samples\status\error.csv"/>
    <entry key="processOutputSuccess" value="C:\Users\a579510\Desktop\dl\samples\status\success.csv"/>
                <entry key="dataAccess.type" value="csvRead"/>
                <entry key="process.initialLastRunDate" value="2005-12-01T00:00:00.000-0800"/>
            </map>
        </property>
    </bean>
</beans>

but gives an error
Error while logging in to web service at: https://login.salesforce.com/services/Soap/u/30.0, error was: Failed to send request to https://login.salesforce.com/services/Soap/u/30.0com.sforce.ws.ConnectionException: Failed to send request to https://login.salesforce.com/services/Soap/u/30.0

pl z add your valuable suggetions......
I want to create pie chart account for owner having there accounts but it shows Invalid field 'Owner.name' error in aggregateResult..
Can anyone plz help to sort out?
public with sharing class Graph1 
{
    
 public List<PieWedgeData> getPieData1() {
        List<PieWedgeData> data = new List<PieWedgeData>();
        List<AggregateResult> groupedResults = [SELECT Owner.name, count(name)cnt
                                              FROM Account
                                              GROUP BY Owner.name];
        for (AggregateResult ar : groupedResults)  {
            data.add(new PieWedgeData(String.valueOf(ar.get('Owner.name')),Integer.valueOf(ar.get('cnt'))));
        
    }
    return data;
    }

    // Wrapper class
    public class PieWedgeData {

        public String name { get; set; }
        public Integer cnt { get; set; }

        public PieWedgeData(String name, Integer data) {
            this.name = name;
            this.cnt = cnt;
        }
        }
   }
Hello everyone ,
I want to write a delete trigger on SPETemplate which is my custom object so that User can  only delete records whose stage__c='draft'.
i have written the following piece of code but it wont work...
suggetions are most welcome....

trigger deleteDraftTemplate on SPE_SPETemplate__c (before delete) {
    
    SPE_SPETemplate__c[] recs=new List<SPE_SPETemplate__c>();
for(SPE_SPETemplate__c rec:trigger.old)
{
  if(rec.Stage__c=='Draft')
  {
            SPE_SPETemplate__c tempSpeTemp=new SPE_SPETemplate__c(id=rec.id);
            recs.add(tempSpeTemp);
            //recs.add(rec);
  }
}
delete recs;  

}
Hello All,
 i want to insert records in salesforce through data loader command prompt as batch at a perticular time.
how to create batch file to insert records in salesforce from dataloader through command prompt....
suggestions are most welcome......
Hi all,
I want to know
how to use lookup relationship in inserting the accounts in salesforce from dataloader through command promt.
Hi all,
Im inserting data from dataloader through command line
ive followed following steps
1.erypt -g test
2.encrypt -e mypass+security token "Path of my key.txt"
3.write process.xml as below

process-confg.xml
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
    <bean id="accountInsert"
          class="com.salesforce.dataloader.process.ProcessRunner"
          singleton="false">
        <description> uploads them to salesforce using 'upsert'.</description>
        <property name="name" value="accountMasterProcess"/>
        <property name="configOverrideMap">
            <map>
                <entry key="sfdc.debugMessages" value="true"/>
                <entry key="sfdc.debugMessagesFile" value="C:\Users\a579510\Desktop\dl\samples\status\accountMasterSoapTrace.log"/>
                <entry key="sfdc.endpoint" value="https://login.salesforce.com"/>
                <entry key="sfdc.username" value="priya.burghate@atos.net"/>
                <!-- password below has been encrypted using key file, therefore it will not work without the key setting: process.encryptionKeyFile
                the password is not a valid encrypted value, please generate the real value using encrypt.bat utility -->
                <entry key="sfdc.password" value="f128334f5306b5d53ea345ba07b816f8557994a62dcdc346fdf664bb2c35836c1d13f1fb4a37933f"/>
                <entry key="process.encryptionKeyFile" value="C:\Users\a579510\Desktop\dl\samples\conf\sample.txt"/>
                <entry key="sfdc.timeoutSecs" value="600"/>
                <entry key="sfdc.loadBatchSize" value="200"/>
                <entry key="sfdc.externalIdField" value="Oracle_Id__c"/>
                <entry key="sfdc.entity" value="Account"/>
                <entry key="process.operation" value="upsert"/>
                <entry key="process.mappingFile" value="C:\Users\a579510\Desktop\dl\samples\conf\accountInsertMap.sdl"/>
                <entry key="dataAccess.name" value="C:\Users\a579510\Desktop\dl\samples\data\accountData1.csv"/>
    <entry key="process.outputError" value="C:\Users\a579510\Desktop\dl\samples\status\error.csv"/>
    <entry key="processOutputSuccess" value="C:\Users\a579510\Desktop\dl\samples\status\success.csv"/>
                <entry key="dataAccess.type" value="csvRead"/>
                <entry key="process.initialLastRunDate" value="2005-12-01T00:00:00.000-0800"/>
            </map>
        </property>
    </bean>
</beans>

but gives an error
Error while logging in to web service at: https://login.salesforce.com/services/Soap/u/30.0, error was: Failed to send request to https://login.salesforce.com/services/Soap/u/30.0com.sforce.ws.ConnectionException: Failed to send request to https://login.salesforce.com/services/Soap/u/30.0

pl z add your valuable suggetions......