<?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: ACA Making properties read only in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136812#M36721</link>
    <description>&lt;P&gt;Angel thanks for respond!&lt;/P&gt;&lt;P&gt;Yes I did it. Everything from tutorial works fine: creating group, includeAll, exclude, create list of properties from several asspects.&lt;/P&gt;&lt;P&gt;But there is nothing about readonly in the tutorial. Now I hide properties. But I want to show their values in read only mode.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 13:34:52 GMT</pubDate>
    <dc:creator>fedorow</dc:creator>
    <dc:date>2022-08-22T13:34:52Z</dc:date>
    <item>
      <title>ACA Making properties read only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136810#M36719</link>
      <description>&lt;P&gt;Project&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-content-app" target="_self" rel="nofollow noopener noreferrer"&gt;Alfresco Content Application&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm trying to extend Content Metadata Card with custom groups and can't make property readonly.&lt;/P&gt;&lt;P&gt;The changers of &lt;SPAN&gt;app.config.json&lt;/SPAN&gt; file by &lt;A href="https://www.alfresco.com/abn/adf/docs/content-services/components/content-metadata-card.component/#making-aspects-and-properties-read-only" target="_self" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt; do not work,&lt;/P&gt;&lt;P&gt;and changers of app.extensions.json file by&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/application-development/setting-property-to-read-only/m-p/300382#M1461" target="_self" rel="nofollow noopener noreferrer"&gt;forum thread&lt;/A&gt; do not works too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;app.extensions.json:&lt;/P&gt;&lt;PRE&gt;    "content-metadata-presets": [
      {
        "id": "app.content.metadata.custom",
        "custom": [
          {
            "id": "app.content.metadata.customSetting",
            "includeAll": true,
            "readOnlyProperties": [
              "myprefix:category",
              "myprefix:family",
              "myprefix:natura"
            ],
            "exclude": [
              "rn:renditioned",
              "cm:versionable",
              ...&lt;/PRE&gt;&lt;P&gt;app.config.json&lt;/P&gt;&lt;PRE&gt;  "content-metadata": {
    "presets": {
      "custom": [
        {
          "includeAll": true,
          "readOnlyProperties": [
            "myprefix:family",
            "myprefix:natura"
          ],
          "exclude": [
            "rn:renditioned",
            ...&lt;/PRE&gt;&lt;P&gt;To be honest, I tried place&amp;nbsp;readOnlyProperties in every thread of custom preset in both files and separately.&lt;/P&gt;&lt;P&gt;What can I do?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 09:28:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136810#M36719</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2022-08-13T09:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: ACA Making properties read only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136811#M36720</link>
      <description>&lt;P&gt;Did you follow these steps?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://alfresco-content-app.netlify.app/#/tutorials/content-metadata" target="_blank" rel="nofollow noopener noreferrer"&gt;https://alfresco-content-app.netlify.app/#/tutorials/content-metadata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 13:55:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136811#M36720</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-08-16T13:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: ACA Making properties read only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136812#M36721</link>
      <description>&lt;P&gt;Angel thanks for respond!&lt;/P&gt;&lt;P&gt;Yes I did it. Everything from tutorial works fine: creating group, includeAll, exclude, create list of properties from several asspects.&lt;/P&gt;&lt;P&gt;But there is nothing about readonly in the tutorial. Now I hide properties. But I want to show their values in read only mode.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 13:34:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136812#M36721</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2022-08-22T13:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: ACA Making properties read only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136813#M36722</link>
      <description>&lt;P&gt;The "&lt;A href="https://www.alfresco.com/abn/adf/docs/content-services/components/content-metadata-card.component/#making-aspects-and-properties-read-only" target="_self" rel="nofollow noopener noreferrer"&gt;readOnlyProperties&lt;/A&gt;" did not work for me.&lt;/P&gt;&lt;P&gt;So I did workaround by using&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/content-services/components/content-metadata-card.component/#making-properties-editable" target="_self" rel="nofollow noopener noreferrer"&gt;"editable": false parameter&lt;/A&gt;. Now group contains two items with same aspect. First item is editable, second item isn't.&lt;/P&gt;&lt;PRE&gt;...
"content-metadata-presets": [
  {
    "id": "app.content.metadata.custom",
    "custom": [
      {
        "title": "TRANSLATABLE_TITLE_FOR_GROUP_1",
        "items": [
          { 
            "id": "",
            "aspect": "myprefix:aspect", 
            "properties": [
              "myprefix:myEditableProperty1",
              "myprefix:myEditableProperty2"
            ]
          },
          { 
            "aspect": "myprefix:aspect", 
            "properties": [
              "myprefix:category",
              "myprefix:family",
              "myprefix:natura"
            ],
            "editable": false
          }
        ]
      }
    ]
  }
]
...&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Aug 2022 14:23:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aca-making-properties-read-only/m-p/136813#M36722</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2022-08-23T14:23:11Z</dc:date>
    </item>
  </channel>
</rss>

