filmov
tv
Triggering FieldChange from JavaScript

Показать описание
Trigger event #PeopleSoft processing when someone presses the enter key! Here is the scenario: your users scan values with a barcode scanner, and that scanner automatically sends the enter key on completion. Unfortunately, PeopleSoft doesn't respond to the enter key. In this episode, we'll show you how to inject a JavaScript fragment to trigger FieldChange and other event processing when the browser receives the enter key press.
JavaScript used in this episode:
(function () {
/* Replace id with the ID of the element that has a new value */
var id = "JSM_TEST_WRK_ROLENAME";
}
/* Setup any PeopleSoft-specific change handling */
/* Trigger Ajax submission */
/* %FormName is a PeopleSoft Meta-HTML variable */
submitAction_%FormName(document.%FormName, id);
}
}
}());
PeopleCode:
AddJavaScript(HTML.JSM_TRIGGER_FC_JS);
JavaScript used in this episode:
(function () {
/* Replace id with the ID of the element that has a new value */
var id = "JSM_TEST_WRK_ROLENAME";
}
/* Setup any PeopleSoft-specific change handling */
/* Trigger Ajax submission */
/* %FormName is a PeopleSoft Meta-HTML variable */
submitAction_%FormName(document.%FormName, id);
}
}
}());
PeopleCode:
AddJavaScript(HTML.JSM_TRIGGER_FC_JS);
Triggering FieldChange from JavaScript
Job Data Timeline Visualizations (PeopleTools Sound Bytes Episode 4)
PeopleTools Sound Bytes Episode 16: JavaScript in PeopleCode
What's the Difference Between the Input and Change Event in JavaScript?
PeopleTools Sound Bytes Episode 45: JavaScript Push Notifications
Implementation without coding using Community Builder framework tools
PeopleTools Sound Bytes Episode 39: More JavaScript Basics for PeopleSoft Developers
PeopleTools Sound Bytes Episode 38: JavaScript Basics for PeopleSoft Developers
Salesforce: Help with Triggers / Classes for Case Creation based on Field Change in Customer_Asset
PeopleTools Sound Bytes Episode 43: What is JSON?
PeopleTools Sound Bytes Episode 5: Creating a Timeline Visualization
Low-Code Feature Focus: Adding Actions to Form Field Change Events
Salesforce: Formula field or trigger?
User-Specific Page and Field Configurations
Salesforce Trigger 4
Harmonizing PeopleSoft Classic, Classic +, and Fluid
Salesforce: Can i use formula field as trigger in work flow rules based on the formula field time
pdf a review of component interaction approaches from the
What is Business Rule? Actions in Business Rule | Scope and Limitation | Business Rule vs JavaScript
Validation Rules & Workflow Rules
How to Show/Hide a Section based on Field/Column value in Dynamics 365 Using JavaScript
Salesforce: Apex trigger to update picklist on custom object from an activated order
Decoupled in Practice - alexmoreno
Salesforce Developer News for July 2021 by Satya - #DevTalkies Episode 06
Комментарии