[midPoint] ?==?utf-8?q? ?==?utf-8?q? ?= XSD schema default attribu

TIPA Sylvaire-Kevin sylvaire-kevin.tipa at mythalesgroup.com
Wed Feb 28 12:33:21 CET 2018


Yes, it's what I do :), this need to keep a dumb template juste for set default value. But It's work.


--
Cordialement.
-------- Message original --------
Sujet: Re: [midPoint] ?= XSD schema default attribu
Date: Mercredi 28 Février 2018 12:27 CET
De: Ivan Noris <Ivan.Noris at evolveum.com>
Répondre à: midPoint General Discussion <midpoint at lists.evolveum.com>
Pour: midPoint General Discussion <midpoint at lists.evolveum.com>
Références: <66c9-5a967a80-7-408fb500 at 35684614>


  Hi, default value can be easily set using object template mapping for your extension attribute with weak strength. e.g. <mapping>  <strength>weak</strength>  <expression>    <value>xxx</value>  </expression>  <target>    <path>$user/extension/myattr1</path>  </target></mapping> will set a default value for your extension attribute "myattr1" to "xxx". See https://wiki.evolveum.com/display/midPoint/Object+Template to start with object templates, and samples for object templates... Best regards,Ivan ______________________________________________________________________________
From: "TIPA Sylvaire-Kevin" <sylvaire-kevin.tipa at mythalesgroup.com>
To: "midPoint General Discussion" <midpoint at lists.evolveum.com>
Sent: Wednesday, February 28, 2018 10:46:52 AM
Subject: Re: [midPoint]        ?==?utf-8?q?  XSD schema default attribut Ok, thanks for the confirmation. I think that default attribut will be a good feature :). Currently I need to add mapping on my extension for set a default value.. 
--
Cordialement.
-------- Message original --------
Sujet: Re: [midPoint] XSD schema default attribut
Date: Mercredi 28 Février 2018 08:50 CET
De: Pavol Mederly <mederly at evolveum.com>
Répondre à: midPoint General Discussion <midpoint at lists.evolveum.com>
Pour: midpoint at lists.evolveum.com
Références: <52bc-5a95b380-5-76db3e00 at 114523021>   
Hello,
it's not a bug; it is just not supported.
MidPoint does not claim to use all features of XSD; it uses only a selected subset of them.Pavol Mederly
Software developer
evolveum.com
On 27.02.2018 20:38, TIPA Sylvaire-Kevin wrote:Hello, It seems that the attribut "default" do nothing in xsd schema extension... I find nothing about that in Jira. My xsd :
<xsd:element name="accessTitle" type="xsd:string" default="Ici les acces iunfomation" > I also try with fixed attribut, but nothing ... Bug ? --
Cordialement.   _______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint

 
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint   --Ivan Noris
Senior Identity Engineer
evolveum.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180228/fbd26a77/attachment.htm>


More information about the midPoint mailing list