• tom cusack.ax852
  • NEWBIE
  • 0 Points
  • Member since 2010

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

When using Authenticated Sites a user goes from page to page.

Salesforce adds a parameter called RefURL, this url keeps getting appended until eventually is reaches the maximum allowed and results in the following error being thrown.

500 Servlet Exception
[show] common.page.InvalidParameterValueException: Invalid parameter value "https://rugbyworldcup.dev.cs5.force.com/ratecard/ratecardhomepage?refURL=https%3A%2F%2Frugbyworldcup.dev.cs5.force.com%2Fratecard% ..................
... (original length: 3367, max length: 3000)" for parameter "refURL".

Salesforce is generating this parameter there doesn’t seem to be a way to override it or blanking it out.

Has anyone else encountered this problem before?

When using Authenticated Sites a user goes from page to page.

Salesforce adds a parameter called RefURL, this url keeps getting appended until eventually is reaches the maximum allowed and results in the following error being thrown.

500 Servlet Exception
[show] common.page.InvalidParameterValueException: Invalid parameter value "https://PortalName.dev.cs5.force.com/ratecard/Portalhomepage?refURL=https%3A%2F%2FPortalName.dev.cs5.force.com%2FPortal% ..................
... (original length: 3367, max length: 3000)" for parameter "refURL".

Salesforce is generating this parameter there doesn’t seem to be a way to override it or blanking it out.

Has anyone else encountered this problem before?

I just passed the Advanced Developer 501 Certification Exam, now I'm waiting for the assignment stage and the essay stage.

 

Has anyone else passed the 501 exam in the last few months? How long did you have to wait for the second stage?

 

I've asked a few folks I know in the community and they are stillwaiting for the second stage and its been almost 1 year for one of them, 4 months for another guy......

 

Anyone have any idea? I sent a message to certification@salesforce.com, but I haven't gotten a response yet.....

Hi All,

Quick question, though I think I know the answer.  I've got a quite complex apex method running as a result of being called from a VF command button.  During this method I insert and update several records.  At the end I am trying to generate html and plain text representations of VF pages to persist to an SObject that can then be picked up by a custom C# app and posted via SMTP.  This seems relatively straightforward, but I'm guessing that PageReference.getContent() runs in a separate execution context, so won't have access to data inserted in another context.

Question 1, if I call PageReference.getContent() from within an Apex method, does it run in a separate context and thus not have access to the DML changes in the current context?

Question 2, if 1 is true, is there any way to accomplish this?  I've tried persisting SObject-based parameters, but this is just the same thing as above, really.

Hope this makes sense and appreciate any help anyone can offer.

Best regards,
Dan