How to create a list of users on in Alfresco Activiti? - forms

so I have this simple question that I would love to get anwserd.
I am new to BPM an Alfresco Activiti and I am workng on with the trial version of Alfresco Activiti to create a sample project for our company.
I decided to work with the Step editor to se what it can do and if it's as powerfull as a normal BPMN 2.0 editor.
Now I am working on a form where one user would need to select the user for the next task. I was wondering if it's possible to use the single select component to display all the users on the server from which the asignee for the next task could be selected. How can this be done?
I know it is not the bes pracitce to show all the users on the server but this is a test project and your help would be really appreciated.
If any more info is required I will gladly edit the post.
Thnak you.

There is a user picker form control in there, that allows searching the whole system. See the third entry:

you can create a dropdown whose options are populated from a rest call which is provided below.
GET api/enterprise/admin/users
This will return list of all users available in JSON format.
Hope it helped.

Related

CRM365 On Prem - Document Templates: how to hook the select event in the form menu

The CRM365 Form displays a convenient document template dropdown button where a number of actions could be initiated. Additionally, it displays the list of already existing document templates. The user can select one template in the list and it is downloaded locally by your browser. So far all good.
Our goal is actually to select the template, retrieve it, and create it in a Document Management repository. We have a working solution for this but it involves too many pieces and steps so we are looking for some better ideas.
Ideally we are looking for a solution where we can:
"intercept" the click on the template item and run a JavaScript function
If we find a solution to this, the rest would be just calling our custom workflow to do the rest of the job.
So, is there any way to hook that "select/click" event from the form menu?
Thank you very much for your help and advice.

Cannot create Attendance in Moodle as there is no such Activity

I'm trying to apply face recognition for attendance in moodle for senior project. I've created a course in my Moodle, but I cannot add attendance activity as it just doesn't exist in the activity list. Activity list looks like this. From search results seems like very strange (and new?)bug.
Github issues doesn't seem to be checked by anyone regularly, so I'm asking here
https://github.com/danmarsden/moodle-mod_attendance/issues/465
The attendance module isn't part of the default Moodle code.
You will need to download and install it.
https://moodle.org/plugins/mod_attendance

How to update value of a field for all page in AEM?

I create a site with AEM (Adobe Experience Manager). I have a page type as property-page. The property-page have a field type "Number of event in a page". I want to modify the number of event for all property page.
How to do that?
Thank you & kind regards,
There is no mass-update feature in AEM. Ask your developers for support. They either write you a little tool. Or they could generate a lot of curl-requests based on a query. Another option would be the AEM Groovy Console (https://github.com/OlsonDigital/aem-groovy-console). There you or your developers could write a script.
Finally you can do it one by one manually. Take a look into crx/de, which might be a little bit faster.
If you want to bulk update the page property you may use OTB Bulk Editor feature. Here is a video explaining how to use this.
There is a similar ACS tool for updating sling:resourceType property. You can extend and customize this tool if not happy with OTB feature.

Alfresco - create online survey with forms

I am searching for a way (or a case study) where Alfresco is used to perform a survey by providing a form. The Alfresco Share visitors/users fill-in the fields of this form and by submission the results are transfered to a data list, filling in the respective fields. (something similar to google forms).
Does anyone know of such a case? How can something like this be materialized? Can Alfresco forms be used this way, or do I have it totally wrong?
This really isn't a good use for Alfresco.
Alfresco is an Enterprise Content Management system that stores your content as documents, files, etc along with associated metadata and there is nothing I can see in the use case you have provided that has to do with storing documents and/or metadata.
No matter what way I look at this it is going to be difficult to create a configurable survey. Your best bet is to look to having another survey tool such as Encuestame that you can deploy to your same Tomcat container and database and then share links to your surveys in Alfresco and publish results/reports to documents in Alfresco.
You have custom dashlet for creating pools on Share Extras.
I didn't tried it yet, but I don't think you'll have problems with deploying/using it.
It not a good way of using alfresco Instead of that you will find below way usefull.
There is one web application called orbeon forms.Which is helpfull in creating web form. Orbeon provides community version by which you can test.below is the link of site for orbeon form.
http://www.orbeon.com/
Create webform in orbeon.There are 2 interface in orbeon one is form builder using which you can create web form another is form runner using which you can enter data.
Orbeon provides support for submitting data which you can change to alfresco.Here you need to put rest url of alfresco webscript
Create rest api in alfresco for saving orbeon forms.
Hope this helps!!!!!
The question was also asked in the French section of Alfresco forum in 2013. While there are "Alfresco Forms", these have a completely different meaning, nothing in common with Google Forms. As an Alfresco add-on, "Form Factor" is an answer if you have entreprise and 5.5KUSD/CPU to pay each year.

is it possible to get an xPages build number?

I do all development in a single application. when a new version is ready I create a template and give it a version number. this way I can store a history of all previous versions.
the development templates are used to push the new design to many applications via replace design.
Creating manual version number or template names is fine but I am looking for a more automatic way of finding out which build the different applications are inherited from
When I visit the different applications I would like to be able to see which build number each application are inherited from. is this possible?
A simple build time stamp could do, but is there a built in build number that can be used and that can be displayed on the xpage.
e.g Build 2012092712345
Update:
Thank you for all your answers, many good suggestions but it looks like all require manual work.
The best solution would be if there is a way to read (from ssjs) a timestamp from any file within the nsf that is always updated during a build. is this possible?
In classic notes, there was a method to add a shared field with a special name to the application. Cannot remember the details, but have it somewhere on the disk.
Then you can see the build number in the design tab of the application properties. And you can of course display the value in your applikation as well.
But you have to fill the item manually on each build. Or use teamstudio Buildmanager. This tool adds the value automatically.
And I also guess that you can write some code that changes the value whenever you create a new build.
Another option would be to use a versioning system like CVS/SVN. This is possible since 8.5.3.
Source control
I think I know what you are meaning. Your a pushing out design and want to check thru code what version each database has. I usually do this with a Build form. In this form I have computed fields with all the data I want to retrieve. Then I open the database with an agent create a document
and set the form field to "BuildForm" and do a computewithform.
Now I can see all information about this database.
I once wrote a rudimentary build system for "classic" Notes, and had the last part of the build pipeline create a form named _BUILDID_, and put the build id in the $Comment field.
The main reason to create a form instead of a shared field was that I could dynamically fetch the form using NotesDatabase.Forms, and open up the desired field.
I sure hope there are simpler solutions nowadays... :-)