• marcusaurelius
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 9
    Replies

I'm looking for examples of how we can only have specific validation rules trigger on certain visual force pages.

 

We have created validation rules using the native SF functionality.  Now we are trying to create some kind of conditional statement that reads:

 

if you are saving from xx vf page, enforce these validation rules

 

looking for a trigger/extension - free solution!!

 

any ideas?

 

tx

I'm trying to render validation rule error messages on my visual force pages.  Does anyone know how this can easily be done? 

 

From what I'm reading, I need to recreate the validation rules in an extension? (is that true!!?) 

 

Hoping for an easier approach!

 

TIA

We created a sf 'site' and went to apply IP blocks to the web user profile.  Once we try to go back to our home page, it reverts to the 'maintenance' template and we are not able to view anything else.

 

Does anyone have any thoughts on how to make this work?

 

Tx!

Does anyone have a good approach to allowing a user to:

 

1. either look up a value via a look up field 


and/or


2. create a new record that can then automatically populate the lookup field?

 

 

Hi, I have problems in save button overrides but i found the solution and post one.

this is an sample how to override the save button:

//Method to override
public PageReference save()
{
//Logical actions

//Action
update detalles;

//Redirect to same page
PageReference acctPage = new PageReference('/'+ApexPages.currentPage().getParameters().get('idcap'));
acctPage.setRedirect(true);
return acctPage;
}
Message Edited by Yucel on 04-15-2009 04:11 PM