I have using alfresco 5.0.d version for the past 3 weeks.I have created the node as agency and type as agencyType as well as created the properties such as name,code and createdDate and able to save the data in node properties.In search option,will take the name as input and need to retrieve the code and createdDate based on name.
Webscript API for accessing the node properties below
nodes= search.luceneSearch("TEXT:"+filter, "@agency:name", true);
Result:
"Node Type: {http://www.alfresco.org/model/content/1.0}content, Node Aspects: [{http://www.alfresco.org/model/rendition/1.0}renditioned, {http://www.alfresco.org/model/content/1.0}titled, {http://www.alfresco.org/model/content/1.0}ownable, {http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/system/1.0}localized, {http://www.alfresco.org/model/content/1.0}author, {http://www.alfresco.org/model/forum/1.0}discussable]", "Node Type: {http://www.alfresco.org/model/content/1.0}content, Node Aspects: [{http://www.alfresco.org/model/rendition/1.0}renditioned, {http://www.alfresco.org/model/content/1.0}titled, {http://www.alfresco.org/model/content/1.0}ownable, {http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/model/system/1.0}referenceable
But I need to get the node properties based on name property which I am passing as need to know for deleting the node based on name property.
Please help to resolve this.