On the community edition, I am trying to create a custom smart folder template as I am following through tutorial on the document (Smart Folders tutorial | Alfresco Documentation ). However, I use my own .json file and own model to fit in my case (filing leaving apply form in a company)
Here is a fragments of the .json:
{
"name": "LeaveDemo",
"nodes": [
{
"id": "1",
"name": "Leave by Type",
"nodes": [
{
"id": "11",
"name": "Annual Leave",
"nodes": [
{
"id": "111"
"name": "New",
"search": {
"language": "fts-alfresco",
"query": "=demo:docType:'Annual Leave' and =demo:docStatus:'New apply'"
},
"filing" : {
"path" : "%ACTUAL_PATH%",
"classification": {
"type": "demo:leaveApplyForm"
},
"properties" : {
"demo:docType": "Annual Leave",
"demo:docStatus": "New apply"
}
}
},
{
"id": "112",
"name": "In process",
"search": {
"language": "fts-alfresco",
"query": "=demo:docType:'Annual Leave' and =demo:applyStatus:'In process'"
},
"filing": {
"path": "%ACTUAL_PATH%",
"classification": {
"type": "demo:leaveApplyForm"
},
"properties": {
"demo:docType": "Annual Leave",
"demo:docStatus": "In process"
}
}
},
...
Yet, I cannot get the smart filing working. That is, if I put in a document in the correct directory that has property of "Annual Leave" and "In Process", you cannot find the file in "Leave by Type\Annual Leave\In Process"
I would like to have some help or advice.
I have solved the issue which caused by poor coding.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.