StringFromElement
4 min
returns a string value from a specified xml element syntax stringfromelementforxml(xmlstring, elementname, position, subelement) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes1 business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes1 business rules editing rules yes2 business rules initialization rules yes business rules read only rules no business rules required rules yes2 business rules validation rules yes client expressions no object permissions no services no ldap no mobile no quick actions (except ui quick actions) yes ui quick actions no reports yes search/dashboard without field references no search/dashboard with field references no 1 not fully supported in calculation rules that have a condition of after save or the also recalculate on load option selected it may fail if the rule's field is used in a grid, form, or saved search 2 except when this field appears on a form or is triggered by such a field parameters parameter description xmlstring xml input string elementname xml element name position index of element array subelement sub element name return value returns a string value from a specified xml element examples $(stringfromelementforxml('\<catalog>\<book>\<in stock>true\</in stock>\<title>the rest api\</title>\<price>3 50\</price>\</book>\<book>\<in stock>false\</in stock>\<title>xml modifiers and you\</title>\<price>\<priceus>48 95\</priceus>\<priceuk>48 96\</priceuk>\</price>\</book>\</catalog>', 'book', 1, 'title')) returns this value the rest api
