Hi all,
I am testing the addon GitHub - zylklab/zk-qshared-effectivity: Public url documents (qshared) with effectivity in Alfresco Share
It is working fine but when I have uploaded the two files having the same name,it is expiring the share link from only one file but when I have unshared the document and shared the document again,it is expiring the share link but not able to expire the share link on sharing the document during the first time.
I have also tried to search the file with the command ASPECT:"qshare:shared" in search tab and even then it is not able to search the file from which the share link is not getting expired.
I am not able to understand why this is so.Is this the problem with the indices or what?what should I do to rectify this problem?
Sorry, but I don't understand your problem. May you rephrase it ?
In principle this addon adds a behaviour when sharing content and defines a date expiration in cm:to property (of cm:effectivity aspect). By default it is a month, and you can edit the expiration date given by cm:to property in document properties.
Then you have a quartz for "unsharing" or expiring this content. In this case, when the cm:to date is reached the aspect (qshare:shared) involved is removed for this content.
By construction, the addon does not depend on file names, and the cited search ASPECT:"qshare:shared" should give you all the content that is shared.
Regards.
--C.