<?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 How can I associate a unique number, an object, and a date to a file in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17854#M7922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Hello, how can I associate a unique identifier, an object, and a date to a file in a folder when I create or load it in a folder? Thanks in advance&lt;SPAN style="display: none; -ms-user-select: none;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2017 08:51:22 GMT</pubDate>
    <dc:creator>dpmar</dc:creator>
    <dc:date>2017-09-28T08:51:22Z</dc:date>
    <item>
      <title>How can I associate a unique number, an object, and a date to a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17854#M7922</link>
      <description>Hello, how can I associate a unique identifier, an object, and a date to a file in a folder when I create or load it in a folder? Thanks in advance</description>
      <pubDate>Thu, 28 Sep 2017 08:51:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17854#M7922</guid>
      <dc:creator>dpmar</dc:creator>
      <dc:date>2017-09-28T08:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I associate a unique number, an object, and a date to a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17855#M7923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, check the following discussion&amp;nbsp;&lt;A __default_attr="228028" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/228028-using-node-dbid-to-create-a-unique-document-number" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 23:40:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17855#M7923</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-09-29T23:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I associate a unique number, an object, and a date to a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17856#M7924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Douglas gave you one possibility for associating a unique identifier with a file in a folder. If you want to associate an object with the file, use an association. To store a date on a file, that's a custom property. You can extend the content model with your own aspect that defines a date property. You can then set the date property however you wish, such as through a folder rule, a script, or a lower-level mechanism, like a behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 18:31:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17856#M7924</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2017-10-02T18:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I associate a unique number, an object, and a date to a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17857#M7925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, I want to thank you for the timeliness of your answers. I had a meeting with my manager and only now I understand what he wants, I've created several sites in the&amp;nbsp;Share that refer to our offices and different figures of our organization, very small, and thanks to rules and appropriate privileges taken files&amp;nbsp;from a site to the other, then between different offices, now he wants to exploit this part already created to set up a sort of resolution management system, hence the same structure with the same moves, but the files created, later also those uploaded , they must have a particular template that contains an item, such as nr, which should be set up with a unique number generated by Alfresco, always within the template there will also be the items&amp;nbsp;object, date and author entries. As I told you already, I know Alfresco recently and I only used the part share, I'm reading documents to understand something more but my manager does not want to give me time and he told me that if I do not find a solution in a short time I'll have to realize&amp;nbsp;all in php, certainly a basic implementation, very simple, but to me would like to gain more knowledge of the above system. So at this point I think, I'll have to create a template, maybe create a rule on a folder so that when I create the file i will add the template and the univocal number to the document, generated through a script / app I will select in the generation of the rule, etc. Can you give me suggestions or examples that let me know how to work, that is, which system files to modify to see the changes in share, where to go to insert the created files, such as scripts and templates generated , etc, that is all that comes to mind . I realize that the question is exaggerated, but I need your help. Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:53:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17857#M7925</guid>
      <dc:creator>dpmar</dc:creator>
      <dc:date>2017-10-05T10:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I associate a unique number, an object, and a date to a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17858#M7926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should strongly consider using a custom app if time is of the essence, and if your requirements have more to do with managing data rather than collaborating on office documents. Customizing Share is difficult. It is not simply a matter of "editing system files" and then seeing the changes. You must first accept that you are working in a "document collaboration" interface that was built with several different frameworks and that you'll be limited in what you can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why it might be simpler to think of Alfresco as your "back-end for documents" and use a remote API like CMIS to work with it, then use a different back-end for data, then use PHP for server-side logic and your favorite front-end framework for the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that said, here are some resources that might help:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Alfresco SDK tutorial&lt;/A&gt;. Any Share project you do should be based on the Alfresco SDK. Don't touch the Alfresco files directly.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Custom content types tutorial&lt;/A&gt;. This will show you how to model your custom properties. There is also a CMIS discussion in there.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/actions/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Custom actions tutorial&lt;/A&gt;. This will show you how to develop custom rule actions which can be added to folders.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Custom behaviors tutorial&lt;/A&gt;. If you need to automatically do stuff at a low level and folder rules aren't convenient/practical, you might use a behavior.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Custom web scripts tutorial&lt;/A&gt;. If you need to extend the REST API with your own end points. This might also be useful if you take my advice and use a custom front-end instead of Share.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.alfresco.com/5.1/concepts/aikau-intro.html" rel="nofollow noopener noreferrer"&gt;Aikau Tutorials&lt;/A&gt;. If you are going to customize Share, you may have to use Aikau.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am purposefully not mentioning the ADF here because it doesn't sound like it is a great fit for what you are trying to do, but, in case you are curious, &lt;A href="https://ecmarchitect.com/archives/2016/07/19/4162" rel="nofollow noopener noreferrer"&gt;start here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an initial list of things that come to mind based on your very general requirements. As you get into it and you need help on more specific pieces do not hesitate to create a new thread describing the problem you are facing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 16:57:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-associate-a-unique-number-an-object-and-a-date-to-a/m-p/17858#M7926</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2017-10-05T16:57:49Z</dc:date>
    </item>
  </channel>
</rss>

