Component Formatters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2011 07:13 AM
Hi,
I need to understand the working of Component type of Formatters.
What I know it is used for variable Editor but How?
Somewhere in the forum I find this information, Can anybody please explain..
------------------------------------------------------------------------------------------------------------
Go to System UI > Formatters
Open the "Incident Variable Editor" UI Formatter
Change the table for the new one, and change the name (will be the variable name)
Insert and Stay the record
Now you can add the variable editor in your new table (form layout)
------------------------------------------------------------------------------------------------------------
I have done the same but nothing happened!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2019 07:41 AM
Component is short for "angularjs component". This places the returned code into a div with some properties to let angular know it's on deck.
Sadly, 8 years later... this hasn't made it into the docs, and I don't have any examples, but I'm guessing you could create a directive or do an ng-bind. There may be an example or some hints in the angular ui development walk through which focuses on angular pages in the platform, not service portal.
<div class="custom-form-group form-group ng-scope" sn-ng-formatter="" sn-ng-compiled="true"><table style="width: 50%;" class="" role="presentation">
<table>...</table>
<div>
Some times you just have to flip the switch to see what is connected to it! 🙂
