cancel
Showing results for 
Search instead for 
Did you mean: 

configuration

sunitha
Champ in-the-making
Champ in-the-making
hi all..
when i done any configurations on web-config-custom.xml the privious configurations are not working..
could you people give me answer for this..
thanks..
25 REPLIES 25

hi murali..
thanks for ur reply..
i am using community 4.2.a and sdk is 4.2.a..
please help me in sdk tagging sample ..
i am very confusing with this because i tried my level best but it's not working properly…

Paste you file's content in the forum and surround it with "code" tag.
Ex..
Open code tag
  web-client-config's content
close code tag

Hi Sunitha,
I'm able to run the sdk tagging sample and I followed the below steps.

1) Stop Tomcat.
2) Compile the source, pickup the jar and place into web-inf/lib folder.
3) Copy the contents from alfresco/extension folder and place into
  C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension
  folder. If the extension is not exists, please create a one.
4) Copy the  "tag-action-messages.properties" and place into
  C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\org\alfresco\sample 
folder.
5) Start tomcat.
6) Go to Alfresco explorer application, go to "View Details" of any document / folder.
7) Click Run Action –>Select "Add tags to Item" option.
😎 Click "set values and add" button to add the tags.
9) Add your tags here and Press Ok.
10) Click Finish / next to complete your action.

Refer this link also : http://wiki.alfresco.com/wiki/Custom_Action_UI

Hope this helps you !.









Hi ..really thank you for your quick response..
i follow the above which you are given..but my alfresco not loading..it showing the error messages..


Thanks…

sunitha
Champ in-the-making
Champ in-the-making
Hi  murali..

i placed only jar file into lib folder..
i open the explorer execute the run action wizards and it showing the action called add items to tag after that i finished my action it showing the error….
the error is…


  Please correct the errors below then click Finish.

    Failed to run Actions due to error: 01220228 A value for the mandatory parameter Tags has not been set on the rule item tag

Thanks..

Hi Sunitha,
Can you please post the alfreso.log here?
Does the aspect is loaded?

Thanks
Murali.

sunitha
Champ in-the-making
Champ in-the-making
Hi Murali..
i saw the alfresco.log file..Action is not executed it showing the error messages like below..

12:12:47,510 ERROR [org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=90af7c1d-628d-4cbb-9798-96f54b6b4380, node=workspace://SpacesStore/90af7c1d-628d-4cbb-9798-96f54b6b4380 ]: 01220008 A value for the mandatory parameter Tags has not been set on the rule item tag
org.alfresco.service.cmr.rule.RuleServiceException: 01220008 A value for the mandatory parameter Tags has not been set on the rule item tag
   at org.alfresco.repo.action.ParameterizedItemAbstractBase.checkMandatoryProperties(ParameterizedItemAbstractBase.java:158)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:234)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:822)
   at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:66)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:242)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:822)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:723)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:405)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:304)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:414)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:516)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:417)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)

what i want to do now to run the action..

Thanks,
Sunitha..

muralidharand
Star Contributor
Star Contributor
Hi Sunitha,
Does the tags aspect is added for your item?
Can you please share  your configuration?
Are you creating any rules for item or just executing it as an Action?
Are you extending Alfresco explorer application or it is for your learning purpose?



HI..

i just go to the space/folder or document/content view details and execute the Run Action..
it showing the action as "add tags to item" and i click on the set values and add tab and click on the next button then finish my action..but it showing the error..


see my output which contains the error message..


Error  Please correct the errors below then click Finish.

    Failed to run Actions due to error: 01230031 A value for the mandatory parameter tags has not been set on the rule item tag

   
      
      
   
Summary
Summary
The information you entered is shown below.
Actions:   Add tags to item
To execute the action click Finish. To review or change your selections click Back.
   
      
   
      
   
Wizard Command Buttons

Hi Sunitha,
What values you've entered for the tags text box? Or it is empty?
Have you changed anything in the model?