cancel
Showing results for 
Search instead for 
Did you mean: 

Can't add app:simpleworkflow to Action Wizards

cloudcontrol
Champ in-the-making
Champ in-the-making
This is an issue with the last nightly build of Alfresco 4.0.c (c 3967, Schema 5025). I am trying to let end-users manage the app:simpleworkflow aspect- useful in order to remove a simpleworkflow that was applied by mistake. The method I used in version 3.4.x is no longer working.

Here is my web-client-config-custom.xml file, located at /var/lib/tomcat6/shared/classes/alfresco/extension. 

<alfresco-config>
<config evaluator="string-compare" condition="Action Wizards">
   <aspects>
      <aspect name="app:simpleworkflow"/>
   </aspects>
</config>
</alfresco-config>

The Web Client Config Admin Console shows the file is seen and loaded:

Web Client config has been reloaded 

<Built-in evaluators> —> OK
classpath:alfresco/web-client-config.xml —> OK
classpath:alfresco/web-client-config-dialogs.xml —> OK
classpath:alfresco/web-client-config-wizards.xml —> OK
classpath:alfresco/web-client-config-properties.xml —> OK
classpath:alfresco/web-client-config-navigation.xml —> OK
classpath:alfresco/web-client-config-wcm.xml —> OK
classpath:alfresco/web-client-config-actions.xml —> OK
classpath:alfresco/web-client-config-forum-actions.xml —> OK
classpath:alfresco/web-client-config-wcm-actions.xml —> OK
classpath:alfresco/web-client-config-workflow-actions.xml —> OK
classpath:alfresco/extension/web-client-config-custom.xml —> OK


Is there another property file which must be edited first? I have also tried adding this to the Action Wizards section of /var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/web-client-config.xml directly with no luck- the manage aspects window does not display simpleworkflow (see attached).

http://public.edim.com.s3.amazonaws.com/doc_with_simpleworkflow.pdf

http://public.edim.com.s3.amazonaws.com/no-simpleworkflow-aspect.pdf
6 REPLIES 6

mitpatoliya
Star Collaborator
Star Collaborator
If you are using the web-client console then you must upload the file from the alfresco web-client.
at location Data Dictionary>Web Client Extension location from the browser.
Then use reload command from webconsole.
It should be visible.

cloudcontrol
Champ in-the-making
Champ in-the-making
Thanks for your reply- I uploaded the file into the data dictionary as you suggested:
Web Client config has been reloaded

<Built-in evaluators> —> OK
classpath:alfresco/web-client-config.xml —> OK
classpath:alfresco/web-client-config-dialogs.xml —> OK
classpath:alfresco/web-client-config-wizards.xml —> OK
classpath:alfresco/web-client-config-properties.xml —> OK
classpath:alfresco/web-client-config-navigation.xml —> OK
classpath:alfresco/web-client-config-wcm.xml —> OK
classpath:alfresco/web-client-config-actions.xml —> OK
classpath:alfresco/web-client-config-forum-actions.xml —> OK
classpath:alfresco/web-client-config-wcm-actions.xml —> OK
classpath:alfresco/web-client-config-workflow-actions.xml —> OK
classpath:alfresco/extension/web-client-config-custom.xml —> OK
workspace://SpacesStore/app:company_home/app:dictionary/app:webclient_extension/cm:web-client-config-custom.xml —> OK

The simpleworkflow aspect is still not visible. Seems there must be another properties file that is preventing this, as it was very simple to accomoplish in version 3.4.x

cloudcontrol
Champ in-the-making
Champ in-the-making
Same issue in latest 4.0.d nightly build as well- open issue at https://issues.alfresco.com/jira/browse/ALF-12633

mitpatoliya
Star Collaborator
Star Collaborator
But Even if you keep that file under tomcat>shared>classes>alfresco   and restart the server it should be in effect.

cloudcontrol
Champ in-the-making
Champ in-the-making
But Even if you keep that file under tomcat>shared>classes>alfresco   and restart the server it should be in effect.

yes- I tried that as well- still not available.

mitpatoliya
Star Collaborator
Star Collaborator
Then it seems like they have intentionally done this to restrict anyone to remove workflow explicitly from any document unless it is completed.
Could be the case.May be alfresco engineers can comment more on the same.