• jaan.vivek746
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Could any one explain the following queries about "View State".  I have gone through the standard documents for it but I did not get the following queries.

 

I am new to this tech and I am going through it by self practice. So I did not get it clearly.

 

here are my queries-

 

1- What is View State?

 

2- Why we need "View State"?

 

3- What are the benifits of "View State"?

 

4- Based on our design of VF page and Apex class\controller how we can deside this will come in "View State" or not?

 

Thanks for your valuable suggestions.

 

It will help me a lot to know 'View State" in the real-time not based on docs.

 

Thanks,

JaanVivek

 

 

While using data loader through command line i'm getting this error. I'm using Apex data loader 23.0

 

I've created all necessary files like key.txt,.sdl file,.csv file and .config file. I'm doing insert operation.

 

Can anyone suggest answer for it.

 

 

BeanPostProcessors before initialization of bean 'accountInsertProcess'
328 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanFactory - Invokin
g afterPropertiesSet() on bean with name 'accountInsertProcess'
328 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanFactory - Invokin
g BeanPostProcessors after initialization of bean 'accountInsertProcess'
375 [accountInsertProcess] FATAL com.salesforce.dataloader.process.ProcessRunner
- Unable to run process accountInsertProcess
java.lang.RuntimeException: com.salesforce.dataloader.exception.ControllerInitia
lizationException: Error loading config file: C:\Program Files\salesforce.com\Ap
ex Data Loader 23.0\test\config.properties. Please make sure that it exists and
is readable
at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.jav
a:86)
at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.jav
a:74)
at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.ja
va:226)
Caused by: com.salesforce.dataloader.exception.ControllerInitializationException
: Error loading config file: C:\Program Files\salesforce.com\Apex Data Loader 23
.0\test\config.properties. Please make sure that it exists and is readable
at com.salesforce.dataloader.controller.Controller.initConfig(Controller
.java:330)
at com.salesforce.dataloader.controller.Controller.<init>(Controller.jav
a:95)
at com.salesforce.dataloader.controller.Controller.getInstance(Controlle
r.java:199)
at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.jav
a:84)
... 2 more
Caused by: java.io.FileNotFoundException: C:\Program Files\salesforce.com\Apex D
ata Loader 23.0\test\config.properties (The system cannot find the file specifie
d)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at com.salesforce.dataloader.config.Config.load(Config.java:573)
at com.salesforce.dataloader.controller.Controller.initConfig(Controller
.java:327)
... 5 more
C:\Program Files\salesforce.com\Apex Data Loader 23.0\bin>

I need to implement one functionality in opportunity object. Please find below mentioned functionality.

 

Scenario-

 

If "Stage" for opportunity is "propecting" i need to display  "1 Green Flag" ,

If  "Stage" for opportunity is "Closed-Won" I need to display  "2 Red Flags",

if "Stage"  for opportunity is "Closed-Lost"  I need to display "3 yellow Flags"

 

And

 

if  "Stage for ooportunity is " Closed-Won" the Opportunity must be "non-editable".

 

Could anyone please help me how to implement it.

 

Thanks for your all valuable help.

 

Thanks,

JaanVivek