• LindbergOri
  • NEWBIE
  • 0 Points
  • Member since 2006

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
I've heard that Winter '07 allows to override the functionality of many buttons... including 'new', 'save', 'edit' buttons.  Once overridden, anytime that someone creates, saves, edits an object of that type (from the objects 'new', 'save', 'edit' button on it's tab) then customized code (script code) will be run.
 
Then how to do it and achieve that? Using snippet s-control?
 
Hey guys, i'm not very lucky today.
 
I modified a S-control page but the boss doubted the Popup Security Notification window from IE, it says
"Security Inforamation
This page contains both secure and nonsecure items.
Do you want to display the nonsecure items? "
 
Can a S-control page avoid this popup notification message from IE?
or can a S-control do the work in background mode and not to display a page to the boss?
 
I used these statements in my page
"
<script src="http://www.salesforce.com/services/lib/ajax/beta3.3/sforceclient.js" type="text/javascript"></script>
<script language="JavaScript">
function pageInit()
{
sforceClient.registerInitCallback(setupPage);
sforceClient.init("{!API_Session_ID}", "{!API_Partner_Server_URL_70}")
}
"
Does this cause the Popup Security Notification ? How to avoid this?
 
I've heard that Winter '07 allows to override the functionality of many buttons... including 'new', 'save', 'edit' buttons.  Once overridden, anytime that someone creates, saves, edits an object of that type (from the objects 'new', 'save', 'edit' button on it's tab) then customized code (script code) will be run.
 
Then how to do it and achieve that? Using snippet s-control?