• skiptomylou48
  • NEWBIE
  • 0 Points
  • Member since 2013

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

Hi all,

 

I have a commandbutton with the following onclick event...

onclick="window.parent.location.href='https://c.eu3.visual.force.com/apex/GRPHotProjectSummary_Edit?scontrolCaching=1&id={!Opportunity.ID}'"

....to redirect to another VF page called 'GRPHotProjectSummary_Edit'.

When I tested it everything worked fine.

However, when other users who do not have 'Development Mode' enabled in their user details nothing happen - the original page just refreshes.

 

Any suggestions how to change the onclick event?

Ideally I don't want to write a custom controller (and wouldn't know how) for just linking to another VF page.

Or do we need to enable development mode for all users in our Org?

 

many thanks! 

Hi all,

 

On the opportunity I have to fields:

First Delivery (Date field)

Last Delivery (Date field)

 

On a custom object (Fleet__c) linked via Master-Detail relationship I have two fields:

Year of First Delivery (Number (4,0))

Year of Last Delivery (Number (4,0))

Both fields are set to read-only.

 

What I want to the code to do is on saving an Opportunity, take only the year from the 'First Delviery' and 'Last Delivery' field on the opportunity and put it into the two fields on all related Fleet__c entries.

 

Any help is very much appreciated! 

 

Many thanks,

Patrick

Hi all,

 

On the opportunity I have to fields:

First Delivery (Date field)

Last Delivery (Date field)

 

On a custom object (Fleet__c) linked via Master-Detail relationship I have two fields:

Year of First Delivery (Number (4,0))

Year of Last Delivery (Number (4,0))

Both fields are set to read-only.

 

What I want to the code to do is on saving an Opportunity, take only the year from the 'First Delviery' and 'Last Delivery' field on the opportunity and put it into the two fields on all related Fleet__c entries.

 

Any help is very much appreciated! 

 

Many thanks,

Patrick