<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CMIS: Choice List of Dates contains values which are not suitable to update a Document in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/cmis-choice-list-of-dates-contains-values-which-are-not-suitable/m-p/13944#M6149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;Adding constraint in d:date type will defiantly give error.Below is the reason for same.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;First thing , it will check while saving values is list of values, If you pass 2001-01-05 as value than it will allow in case of constraint,but as it is a string value it will not allow to save in d:date.Second thing, if you pass date object of java , than equality comparison on the applied constraint will fail.So you have 2 option in this case.&lt;/P&gt;&lt;OL style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: inherit; margin: 0px 0px 0.5em;"&gt;Change d:date to d:text&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;Remove constraints.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="color: #222222; background: none; font-size: small;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border-top: 0px; border-right: 3px solid #f7751f; padding: 0px 7px 0px 0px;" valign="top"&gt;&lt;IMG src="https://ci4.googleusercontent.com/proxy/XwsSUZ7gnxL8l2-2lFHfpBgrfBUy1OIIU4D-7xrE6dCty7GizZSWMhF8BL5x4DyH4CCRW8sa5lTGyXJa92c=s0-d-e1-ft#http://www.krutikjayswal.com/favicon.ico" /&gt;&lt;/TD&gt;&lt;TD style="padding: 0px 0px 0px 12px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background: none; border: 0px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" style="color: #f7751f; font-size: 18px; padding-bottom: 5px;"&gt;Krutik Jayswal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #f7751f; font-size: 14px;" valign="top" width="20"&gt;p:&lt;/TD&gt;&lt;TD style="color: #4f382f; font-size: 14px;" valign="top"&gt;+91 9879286835&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #f7751f;"&gt;m:&amp;nbsp;&lt;/SPAN&gt;+91 9909902800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #f7751f; font-size: 14px;" valign="top" width="20"&gt;w:&lt;/TD&gt;&lt;TD style="color: #4f382f; font-size: 14px;" valign="top"&gt;&lt;A href="http://krutikjayswal.com/" style="color: #1da1db;" target="_blank" rel="nofollow noopener noreferrer"&gt;krutikjayswal.com&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #f7751f;"&gt;e:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:krutik.jayswal@gmail.com" style="color: #1da1db;" target="_blank" rel="nofollow noopener noreferrer"&gt;krutik.jayswal@gmail.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="padding-top: 5px;"&gt;&lt;A href="https://www.facebook.com/krutik.jayswal" style="color: #1155cc; border: 0px;" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;IMG height="25" src="https://ci4.googleusercontent.com/proxy/KSd1y52khHv9agmQvrCbryrM-2fW2_TTiv_ZyM7g8CvIOy1lLeiL98i21qwjj_AtIcK1gmFVa_3klKcL84Nn9soPAtkHRj9nuToKZ86G2yoOSEHDRVJtmcoMmxPmmaYL9i1otg=s0-d-e1-ft#http://cdn2.hubspot.net/hubfs/184235/dev_images/signature_app/facebook_sig.png" style="border: none;" width="25" /&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/in/krutik-jayswal-11325456/" style="color: #1155cc; border: 0px;" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;IMG height="25" src="https://ci5.googleusercontent.com/proxy/hzQ50OystqOxlKMduZD32nQoNlmY4n_0V4lxPUWy5nU5cr1gbQR-03vxhbJL7qRILyM-QnaRbLIvZIoxOof999Ep266X82hDAOK2K4jC9rBUhUVgcslhZQ1jOUHJwKu2s6_4sA=s0-d-e1-ft#http://cdn2.hubspot.net/hubfs/184235/dev_images/signature_app/linkedin_sig.png" style="border: none;" width="25" /&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 08:41:41 GMT</pubDate>
    <dc:creator>krutik_jayswal</dc:creator>
    <dc:date>2017-05-19T08:41:41Z</dc:date>
    <item>
      <title>CMIS: Choice List of Dates contains values which are not suitable to update a Document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-choice-list-of-dates-contains-values-which-are-not-suitable/m-p/13943#M6148</link>
      <description>Hi everyone,in our company we use Alfresco&amp;nbsp;where we added new TestModel and ListDate property.Next we use CMIS Apache Chemistry connector that returns list of choices:When one of these values is chosen &amp;nbsp;for update, error appears. For instance, if we choose the first one (2001-01-05 == 5 of January 2</description>
      <pubDate>Thu, 18 May 2017 08:40:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-choice-list-of-dates-contains-values-which-are-not-suitable/m-p/13943#M6148</guid>
      <dc:creator>olegdelone</dc:creator>
      <dc:date>2017-05-18T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS: Choice List of Dates contains values which are not suitable to update a Document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-choice-list-of-dates-contains-values-which-are-not-suitable/m-p/13944#M6149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;Adding constraint in d:date type will defiantly give error.Below is the reason for same.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;First thing , it will check while saving values is list of values, If you pass 2001-01-05 as value than it will allow in case of constraint,but as it is a string value it will not allow to save in d:date.Second thing, if you pass date object of java , than equality comparison on the applied constraint will fail.So you have 2 option in this case.&lt;/P&gt;&lt;OL style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: inherit; margin: 0px 0px 0.5em;"&gt;Change d:date to d:text&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;Remove constraints.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="color: #222222; background: none; font-size: small;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border-top: 0px; border-right: 3px solid #f7751f; padding: 0px 7px 0px 0px;" valign="top"&gt;&lt;IMG src="https://ci4.googleusercontent.com/proxy/XwsSUZ7gnxL8l2-2lFHfpBgrfBUy1OIIU4D-7xrE6dCty7GizZSWMhF8BL5x4DyH4CCRW8sa5lTGyXJa92c=s0-d-e1-ft#http://www.krutikjayswal.com/favicon.ico" /&gt;&lt;/TD&gt;&lt;TD style="padding: 0px 0px 0px 12px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background: none; border: 0px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" style="color: #f7751f; font-size: 18px; padding-bottom: 5px;"&gt;Krutik Jayswal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #f7751f; font-size: 14px;" valign="top" width="20"&gt;p:&lt;/TD&gt;&lt;TD style="color: #4f382f; font-size: 14px;" valign="top"&gt;+91 9879286835&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #f7751f;"&gt;m:&amp;nbsp;&lt;/SPAN&gt;+91 9909902800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #f7751f; font-size: 14px;" valign="top" width="20"&gt;w:&lt;/TD&gt;&lt;TD style="color: #4f382f; font-size: 14px;" valign="top"&gt;&lt;A href="http://krutikjayswal.com/" style="color: #1da1db;" target="_blank" rel="nofollow noopener noreferrer"&gt;krutikjayswal.com&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #f7751f;"&gt;e:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:krutik.jayswal@gmail.com" style="color: #1da1db;" target="_blank" rel="nofollow noopener noreferrer"&gt;krutik.jayswal@gmail.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="padding-top: 5px;"&gt;&lt;A href="https://www.facebook.com/krutik.jayswal" style="color: #1155cc; border: 0px;" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;IMG height="25" src="https://ci4.googleusercontent.com/proxy/KSd1y52khHv9agmQvrCbryrM-2fW2_TTiv_ZyM7g8CvIOy1lLeiL98i21qwjj_AtIcK1gmFVa_3klKcL84Nn9soPAtkHRj9nuToKZ86G2yoOSEHDRVJtmcoMmxPmmaYL9i1otg=s0-d-e1-ft#http://cdn2.hubspot.net/hubfs/184235/dev_images/signature_app/facebook_sig.png" style="border: none;" width="25" /&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/in/krutik-jayswal-11325456/" style="color: #1155cc; border: 0px;" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;IMG height="25" src="https://ci5.googleusercontent.com/proxy/hzQ50OystqOxlKMduZD32nQoNlmY4n_0V4lxPUWy5nU5cr1gbQR-03vxhbJL7qRILyM-QnaRbLIvZIoxOof999Ep266X82hDAOK2K4jC9rBUhUVgcslhZQ1jOUHJwKu2s6_4sA=s0-d-e1-ft#http://cdn2.hubspot.net/hubfs/184235/dev_images/signature_app/linkedin_sig.png" style="border: none;" width="25" /&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 08:41:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-choice-list-of-dates-contains-values-which-are-not-suitable/m-p/13944#M6149</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2017-05-19T08:41:41Z</dc:date>
    </item>
  </channel>
</rss>

