cancel
Showing results for 
Search instead for 
Did you mean: 

AAAR _ Publish

emorenofer
Champ in-the-making
Champ in-the-making
One question, it's possible to upload with AAAR_Publish.sh documents on Alfresco's Repository based on "New Version" of latest pdf document?

Name of PDF Document is the same…maybe yes or no?

Thanks!
11 REPLIES 11

fcorti
Elite Collaborator
Elite Collaborator
Hi Emilio,

Would you mind to share some more details on your needs?
I cannot understand what you request from the publisher about the versions and name of documents.

Thanks.

emorenofer
Champ in-the-making
Champ in-the-making
OK! Sorry! I can't explain me very good in english…



When I execute AAAR_Publish, AAAR collect all informs of ALFRESCO Stats in Pentaho and copy to my ALFRESCO Platform (I have 1 srv with Pentahoo+AAAR and other server with ALFRESCO)

Exactly, AAAR_Publish copy all PDF documents to Repository…ok!! Perfect!!

But…


If I execute at next day AAAR_Publish, AAAR collect news informs of ALFRESCO Stats in Pentaho and copy this PDF files to my ALFRESCO Repository…but overwrite the older PDF files, I don't have version 2.0 of PDF file…I have only one version, the last version.


And my question is…It's possible append new pdf files like new version 1.1 or 2.0 to make history of pdf files.


Thanks!

fcorti
Elite Collaborator
Elite Collaborator
Hi Emilio,

Thank you for the explanation.
Your use case is interesting.

What you would like to develop could be done directly inside Alfresco.

The AAAR publisher has the goal to upload (static) reports directly inside a folder: a sort of dropzone.
Please, note that you can set the AAAR_Publish to upload every different document in a different dropzone.
For example: you can upload the "top ten user" report in the dropzone A and the "repository dimension" in the dropzone B…

With this feature, you could set all the different dropzones with different rules, in the way you probably know, using the Alfresco capabilities.
For example: you could set one dropzone A with the versioning of the reports  (what you are probably asking for) and the the dropzone B with an email to the end users and the copy in different sites/folders/user homes… and so on.

My suggestion is to develop the ECM customizations directly in Alfresco and the reports/dashboardsanalysis customizations in the BI solution (Pentaho and AAAR).

Let us know how it goes.

emorenofer
Champ in-the-making
Champ in-the-making
Hi Francesco,

Thanks for your support!…Finally I edited AAAR_Publish like you said in your post.

Every day I create on "ISO" folder, another folder with date_day in the name folder, it's automatic after the backup process every night.
Two hours after this process AAAR_Publish execute and copy all PDF files to this new folder like you commented me about different dropzones.

Thanks! In AAAR We Trust! 😉

fcorti
Elite Collaborator
Elite Collaborator
Cool! 😄

If you have few minutes, please write me privately to understand how you are using AAAR…. I'm always interested in use cases. 😉

Cheers.

sandeepreddy1
Star Contributor
Star Contributor
Hai Francesco,

How to login automatically in pentaho. is there any solution

fcorti
Elite Collaborator
Elite Collaborator
Hi Sandeep,

Are you meaning this?

http://fcorti.com/pentaho-transparent-authentication/

If yes, it is included into your AAAR installation.
Please go through the configuration explained here:
http://fcorti.com/pentaho-transparent-authentication/pentahota-configuration/

Hai Francesco,

I followed this link http://fcorti.com/pentaho-transparent-authentication/pentahota-configuration/ 
i created pentaho-transparent-authentication-mappings.json file in $PENTAHO-ROOT/pentaho-solutions/system and added following code

{
        "testApp": {
            "usernamesMap": {
                "testUser": "pentahoUser"
            },
            "applicationName": "testApp"
        },
        "app1": {
            "usernamesMap": {
                "user0.1": "pentaho4",
                "user0.0": "pentaho3"
            },
            "applicationName": "app1"
        },
        "showcase": {
            "usernamesMap": {
                "user0.2": "admin",
                "user0.1": "pat",
                "user0.0": "suzy",
                "user0.3": "tiffany"
            },
            "applicationName": "showcase"
        }
    } 

But when click on reports in alfresco it is asking pentaho username and password, i need to show reports without asking pentaho username and password .
i am attaching screenshots, can you please check once.

Hai Francesco,

help me friend plz.,  Is there any solution for pentaho auto login.  i followed above link but it is not taking any affect