infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
grmstore for empty dateTime xml
Elisha Gould
I am trying to get something working where I can have a dateTime xml element empty.
ie for the following extract of a schema:
<xs:element minOccurs="0" name="ExpectedDischarge" nillable="true" ENGINE="xs:dateTime" />
I need the following to be able to be created with grmstore:
<CaseExpectedDischargeChange:ExpectedDischarge xsi:nil="true" />
I'm not sure how I get the xsi:nil="true" part in with grmstore.
is it possible or do I need to use something else?
Find more posts tagged with
Clovertech
Comments
Elisha Gould
has anybody gotten xsi:nil=true working for a dateTime element?
The documentation for grmstore is extremely lacking in any use further than the very basic example. Is it based off any existing api that I can search in google or is it a cloverleaf specific api?
is it possible to set element attributes with grmstore?
Elisha Gould
After a bit of messing around I finally came up with using the following for the xsd:
.
.
.
This creates a type of xs:dateTime that allows any attribute.
Then use the following tcl to set the xsi:nil flag:
grmstore $aHandle ${aField}.##anyAttribute x {xsi:nil="true"}
Does anyone have a better way of doing this than having to create a type with anyAttribute?