-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
10Questions
-
9Replies
Looking for code sample to perform a mass action
for creating activities for many records off a list view. I see many examples of mass updates directly to records, but none for adding/updating activities..
tx if anyone knows anything!
-
- marcusaurelius
- February 04, 2011
- Like
- 0
- Continue reading or reply
Override Save() method
Does anyone have a good code sample of a Save() method that refreshes the vf page on itself? OR can help me with my code below?
I have a vf form accessed via a sites page ...on save, i want to have the form insert the data and then refresh the newly created page.
I tried to do this via onclick action on the command:save ..but doesnt seem to work.
here is my current approach (not working)
<apex:commandButton action="{!save}" value="Calculate" onclick="back();"/>
<script type="text/javascript">
function back()
{
window.parent.location.href='{!$Page.FAA_Compensation_Calculator}?id={!$CurrentPage.parameters.id}&txt={!$CurrentPage.parameters.txt}';
}
</script>
Tx!
-
- marcusaurelius
- March 19, 2010
- Like
- 0
- Continue reading or reply
Order by in apex:repeat
-
- marcusaurelius
- March 08, 2010
- Like
- 0
- Continue reading or reply
Page-specific validation rules
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
-
- marcusaurelius
- January 04, 2010
- Like
- 0
- Continue reading or reply
Validation Rules & VF Pages
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
-
- marcusaurelius
- December 21, 2009
- Like
- 0
- Continue reading or reply
Is there a search option available for sites?
-
- marcusaurelius
- September 10, 2009
- Like
- 0
- Continue reading or reply
IP Restrictions and Sites
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!
-
- marcusaurelius
- August 05, 2009
- Like
- 0
- Continue reading or reply
Block Table Sorting
Tx
-
- marcusaurelius
- July 08, 2009
- Like
- 0
- Continue reading or reply
Looking for an example of a Dashboard Object that is numbered?
Does anyone have any ideas on how I can create a dashboard object that is a ranking? Essentially, a dashboard data view that is numbered.
1. xxxx
2. xxxx
......
TIA!
-
- marcusaurelius
- June 24, 2009
- Like
- 0
- Continue reading or reply
Lookup or Create New?
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?
-
- marcusaurelius
- April 21, 2009
- Like
- 0
- Continue reading or reply
Page-specific validation rules
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
- marcusaurelius
- January 04, 2010
- Like
- 0
- Continue reading or reply
Validation Rules & VF Pages
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
- marcusaurelius
- December 21, 2009
- Like
- 0
- Continue reading or reply
IP Restrictions and Sites
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!
- marcusaurelius
- August 05, 2009
- Like
- 0
- Continue reading or reply
Lookup or Create New?
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?
- marcusaurelius
- April 21, 2009
- Like
- 0
- Continue reading or reply
How override a save button in extension visual force
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;
}
- Yucel
- April 15, 2009
- Like
- 0
- Continue reading or reply