Peoplesoft Edit Box Properties
All, I’ve had this peculiar issue wherein, I have to copy paste data from an excel sheet that has each column separated by a colon. It worked properly when using Internet Explorer, but there was an issue when copy pasting into the same long edit box using Google Chrome. Here’s the code that I had used and that which had worked in Internet Explorer. For reference purposes,I had used IE 8 and Google Chrome v36.

Unedittable Text Edit box - Toolbox for IT Groups. I have a text box / Edit box which should be disabled (not editable). I say display only, I want the text box to be. Using Edit Boxes and Long Edit Boxes. And how the control is used in the respective edit box and long edit box properties dialog boxes in PeopleSoft Application.
Here’s the sample data that was copy-pasted to the long edit box – each entry appears in its own line: A: B: C: D 1: 2: 3: 4 E: F: G: H RECORD.LONGVALUE field is the long edit box on the field The following code would work in IE without any problems. Substitute(RECORD.LONGVALUE.Value, Char(10), '); But, if you use the same code from Chrome, then the second line’s content just before the first colon would get appended to the end of the first line. This is because, the newline character behaves differently in Google Chrome unlike in IE. IE takes a newline character as just n(ASCII character 10) Google Chrome takes a newline character as just r n(ASCII character 13 + ASCII character 10) I tried to come up with a common approach that would work for both IE and Chrome, but in vain. Finally, this is what I came up with – if you have a better approach, please feel free to add it in the comments section. Long code short, look at what browser is being currently used – set the line break to be in-line with the browser.
You can get the current browser in PeopleCode using%Request.BrowserType Evaluate%Request.BrowserType When = 'IE' RECORD.LONGVALUE.Value = Substitute(RECORD.LONGVALUE.Value, Char(10), '); break; When = 'CHROME' RECORD.LONGVALUE.Value = Substitute(RECORD.LONGVALUE.Value, Char(10), Char(13)); break; End-Evaluate; Hope this helps! П™‚ The next series of posts would be centered around PS Query and couple of unique PeopleCode scenarios. Until then, Adios!
Rich Text Editors (RTE) are being used more commonly with the latest PeopleTools versions. There are several pages that contain Rich Text Editor fields (generally for configuration) which are then used for display on other transactional pages using HTMLAREAs, used as the content for Rich Text enabled emails or used as the content for Rich Text enabled BI Publisher reports (to name a few use cases). Note: The Rich Text Editor provided by PeopleTools is powered. Page With Rich Text Editor Enabled Field: Here is an example of a simple page that contains a Rich Text Editor field. Adding Custom Rich Text Options - Templates, Plugins: I recently came across an interesting.
The question was 'how to use Rich Text to display an iframe with a link to a youtube video?' If you look at the above Rich Text Editor field that uses the default Toolbar, it does not have the ability to add any HTML tags or specifically IFRAME content. To enable additional/custom Toolbar items on the Rich Text Editor, we must first create our own custom Rich Text Editor Configuration. Creating a Custom RTE Configuration: We need to create a new HTML definition with a name that starts with 'PTRTECFG'. Let us create a custom HTML definition called PTRTECFGCSK cloned from PTRTECFGPTPPB (delivered RTE Configuration). The views expressed on this blog are solely my own in a private capacity and do not reflect the views of my past/current employers, clients or any other affiliated groups.

Edit Properties Of Mp3
Similarly, the views and opinions expressed by visitors of this blog are theirs and do not reflect my opinions. Any code snippets or ideas included in this blog should be considered as proof of concepts only and should be tested appropriately. The author does not assume any liability for issues arising from the implementation of these ideas.