• Sanjivani
  • NEWBIE
  • 15 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hi, I have a situation where I need to check for multiple stages. My opportunity page behaves as per the stage opportunity has, so there will be multiple conditions in VF as well as in controllers. Right now, stages are hardcoded and it is very troublesome to make further stage related changes. 
What would be best way to replace these hardcoded stages names? Custom lables or Lookups?

Thanks & Regards
Sanjivani
Hi, I have a situation where I need to check for multiple stages. My opportunity page behaves as per the stage opportunity has, so there will be multiple conditions in VF as well as in controllers. Right now, stages are hardcoded and it is very troublesome to make further stage related changes. 
What would be best way to replace these hardcoded stages names? Custom lables or Lookups?

Thanks & Regards
Sanjivani

Hi,

 

I'm redirecting to new visualforce page in my class.

created URL look like.

https://xxx.visual.force.com/apex/NewPage?TestValue=value1&retURL=a0HS000000450UD

 

I'm trying to get TestValue into my Visualforce Page...

code of Page is here..

 

<apex:page standardController="XXX__c" extensions="EEE_Test">
    <apex:form >
        <apex:pageBlock >
        <apex:pageBlockSection columns="1">
             <apex:inputField value="{!CurrentPage.parameters.TestValue}"/>
    </apex:pageBlockSection>
        </apex:pageBlock>  
    </apex:form>
    </apex:page>

 

I'm getting "Save error: Field parameters does not exist. Check spelling."  during saving this page.

 

Please suggest how to get value from the URL in page InputField?

 

Hi

 

I have a custom object. When user will click New button to create new record of custom object and then click Save button I'd like to redirect him not to Details page but to other page. Is it possible?