I'm quite new to Alfresco, pardon my imprecise question.
I have an Alfresco version 5.2.4, with share.
I have a custom action on documents I can call with a button inside document details page, but this button needs to be visible only when that document is not inside a custom workflow I created.
Can I do that with an evaluator? If so, how? Have I to add some custom property to the document model?
Thanks to all
I found the answer, I should just use
evaluator.doclib.indicator.activeWorkflows
basic type
Related
I am new to alfresco (community) and I want to make some basic customization in alfresco's out of the box modules,Discussion module,specifically I want to add some new fields in it and that should be reflect in database of alfresco.
As first step I configured alfresco maven SDK?
And is it possible with Maven SDK or I have to go for any other programming model.
I want a new field in this form..
I think that you don't need SDK, try to use Alfresco Model Manager:
Content modeling with Model Manager - intro
This video shows you how to create models in Alfresco
Have you tried creating a rule that would add the classifiable aspect to topics when they are created? That would be the most straightforward way to go.
If that doesn't work you can always just create your own aspect with a custom property. The property can be defined in the content model to have a constraint if your list of categories is hard-coded.
Once you've defined your property in the content model, you'll need to add the aspect to topics. You can do that with a rule, or you can write a Java-based behavior to add it.
With that in place you should be able to edit your Share form configuration to expose the new property as a dropdown.
I need to create a custom doclib action on share to upload a new document.
I have gone through the Alfresco documentation which explains Send-as-email custom doclib action. But I am still not sure on the process to create this custom action for uploading a file. Is there an out-of-the-box repository action that I can use?
There are going to be multiple ways for achieving this.Best approach for achieving this will be like below as per my perspective.
Follow same steps as explained in send-as-email action.Only difference you need to do is customizing form.
You need to customize freemarker template which is referenced in form.In ftl file you can use file chooser and complete the things which you want to achieve.
I am trying to hide some of the components which appears in document details page of alfresco share based on some aspect.
I am not able to use hasAspectEvaluator for that could anybody please explain how to use that?
I have a custom form that I wrote manually without using Orbeon Form Builder. I want to save the XML file to Alfresco when the form is submitted. This can be achieved with forms created with Form Builder using the workflow-send button. My question is how to use this button with forms that were writtin manually.
That button and the Alfresco functionality are part of Form Runner and they were not meant to work independently. This is not to say that it's not possible, but you will have to look at the source code and get at least a minimal understanding of it.
The place to start for Alfresco support is alfresco-model.xml. You might be able to start by including this model with XInclude in your own form. Then, that model has at least a dependency on an instance called fr-parameters-instance which provides the form and app name. This is used to read configuration properties.
The second place to look is persistence-model.xml, which is the place which actually uses alfresco-model.xml.
(I know there is a module, but I'm trying to learn on my own)
I basically want some kind of form or page where I create a form for an administrator.
So, the administrator can fill in the question and can add more than one right answer. Sorta like a multiple choice question with more than one answer.
The user will go ahead and answer the question.
Do, I create a content type? Do I use form api instead. Not sure at this moment how to go about it.
Thanks.
The Quiz module provides tools for authoring and administering quizzes through Drupal. A quiz is given as a series of questions, with only one question appearing per page. Scores are then stored in the database.
From what I get, you can create a custom drupal module and use form api for creating Multipage forms and add pragmatically add validaters for adding you correct result before moving to the next page/form.
Writing a simple. Hope this helps and contact if you need help.