How to get rid of the (Bytes -234kb) label when an object field is displayed in edit or create
G
Gavin BEANGSTROM
started a topic
about 1 year ago
If you use a user defined form field of component type object that you are including HTML on you get an annoying (String - 1.4 Kb) label appearing when you edit the form.
This can be removed by adding the following script to your html.
<script>
function changeAllParentElements(className, newText) {
const parentDoc= window.parent.document;
const elements = parentDoc.querySelectorAll("." + className);
Gavin BEANGSTROM
If you use a user defined form field of component type object that you are including HTML on you get an annoying (String - 1.4 Kb) label appearing when you edit the form.
This can be removed by adding the following script to your html.
<script>
function changeAllParentElements(className, newText) {
const parentDoc= window.parent.document;
const elements = parentDoc.querySelectorAll("." + className);
elements.forEach(element => { element.textContent = newText;});
}
changeAllParentElements("af-object--start-adornment", "")
</script>
Hello Gavin,
Did you try taking a look at this article?
https://semarchysupport.freshdesk.com/a/forums/topics/43000531837
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstAlexia SIMOND
Hello Gavin,
Did you try taking a look at this article?
https://semarchysupport.freshdesk.com/a/forums/topics/43000531837
Alexia SIMOND
Or this one: https://semarchysupport.freshdesk.com/a/forums/topics/43000532046
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 346 topics