Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 09 2019 16:25
    eromano milestoned #5057
  • Sep 09 2019 14:43
    eromano milestoned #5061
  • Sep 09 2019 11:36
    dhrn closed #5019
  • Sep 08 2019 08:17
    pionnegru milestoned #5063
  • Sep 06 2019 14:16
    aitseitz edited #5062
  • Sep 06 2019 14:11
    aitseitz opened #5062
  • Sep 05 2019 12:27
    dhrn milestoned #5058
  • Sep 05 2019 06:55
    dhrn milestoned #5054
  • Sep 04 2019 19:14
    eromano milestoned #5044
  • Sep 04 2019 16:48
    eromano milestoned #5055
  • Sep 04 2019 16:36
    DenysVuika labeled #5050
  • Sep 04 2019 13:57
    eromano milestoned #5030
  • Sep 04 2019 07:36
    pionnegru milestoned #5051
  • Sep 04 2019 06:31
    loictrichaud opened #5050
  • Sep 03 2019 14:11
    eromano milestoned #5046
  • Sep 03 2019 10:10
    eromano milestoned #4996
  • Sep 03 2019 07:56
    pionnegru milestoned #5045
  • Sep 02 2019 06:48
    pionnegru milestoned #5040
  • Sep 01 2019 09:03
    eromano milestoned #415
  • Aug 31 2019 03:24
    silverskyvicto edited #5039
Denys Vuika
@DenysVuika
If it's not in the object, feel free to raise an issue or PR to add this property to the code
OGurcay
@OGurcay
Hi all! I'm not sure if this is the correct place to address this but I have a question regarding adding custom user roles: I want to define custom roles that should be then visible in share to be able to assign to users like any other 4 pre-defined roles. I used containerized deployment for ACE and I don't have direct access to sitePermissionDefinitions.xml and other related files to define the new roles. I think it needs to be done via XML beans but I don't know how or where to set it up or apply these changes accordingly. I think I know what to change to define new roles but I don't know how to apply it. Can someone give me hints about how to do it or at least show me a starting point?
OGurcay
@OGurcay
I solved my problem but I have a new question: I'm trying to create a role that is based on pre-defined Collaborator but with the additional permission to move the nodes other users created without being able to delete them. I was able to see the move action only when I give the 'DeleteNode' and 'DeleteChildren' permissions to the role. Is 'move' a part of the 'delete' permission or am I missing something?
unknownuu
@unknownuu
Hi All, I'm trying to trace my application where time taken for some actions is more and found that one of the alfresco API (alfresco/api/-default-/public/alfresco/versions/{id}/nodes/{uuid}/children) which is time consuming, I need to further trace this API to figure which method is taking time. I was not able to find source code to find which class and methods are executed by this API. Can some one help to find out the methods and class under this API? Thanks in advance.
2 replies
Waldbillig Thomas
@Waldbillig-Thomas

Hi all,
in order to have a bit more dynamic application I needed to switch from the "taskId" input to the "form" input on the "adf-form".

I noticed that when I switched, the "readOnly" seemed to be ignored

  • After some investigation and analysis of the source code, I noticed that there was some processing that was not done for the "form" input (e.g. this.visibilityService.refreshVisibility(this.form);)
  • I now do that process before passing in the parsed-form and this fixed the issue for most cases, but it still does not work correctly for some visibilities depending on variables from the process...

Has anyone encountered a similar problem? or does anyone know what could cause this/how to fix it?

sorry i mixed things up a bit...
so the readonly part now works but the issue i mentionned about the visibility depending on process variables seems to still have problems
5 replies
shahjigirp
@shahjigirp
Hello.. I have ADF 3.8 for my project.. I have configurations in app.config.json file.. ecmHost, some custom properties, etc. Now, I want to reference or read these values from external file.. how can I configure that?
For ex, ecmHost value is ${hostname} in my app.config.json.. and while running the project, hostname should be read from some external file.. is it possible? How can I do this?
Basically, I want to pick configuration values at runtime.. So that, my deployment package would be same irrespective of environment
3 replies
Eugenio Romano
@eromano
I think I misclick the button instead of reply to the last answer but that problem is peoably fix in the last version of ADF
you should try to update the app to the new ADF version
NihatOsman
@NihatOsman
Hello All. I'm trying to jump from one(first) to another task(second) without completing the current task(first). Which is the best solution for that and how can be done?
alt
Denys Vuika
@DenysVuika
And how that relates to ADF?
NihatOsman
@NihatOsman

And how that relates to ADF?

I want to create a button in the ADF to jump to the other task

shahjigirp
@shahjigirp

Hello,
We built our ADF v3.8 application using yeoman generator and building application using npm run build. Hence, deployment package is being generated in dist folder.

Before build, we modify app.config.json file and put EcmHost as ACS 6.2.1 endpoints.
We put this generated package folder in tomcat/webapps folder.
On accessing it, ADF application is working fine.

Now, if our ACS is running on SSL without Certificate configuration, ADF works fine. However, when our ACS is configured with certificates, we are getting not able to access ACS from ADF application and giving certificate related issue.

In ACS side, we have configured Share as well. In share-config file, we are passing .p12 certificate and we are able to access Share and Repository. Same way, we would like to access ACS from ADF itself.

Hence, I would like to know what all configuration needed in my ADF application to get this working? How to pass SSL Certificate of ACS from ADF? Is it possible? Which all files need modification in ADF 3.8 project?

OGurcay
@OGurcay
Hi again all! So it seems that move action depends on the delete action (https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/share-documentlibrary-config.xml#L1034) Is there a way to overwrite the permissions for the move action or should I create my custom move action that doesn't depend on delete?
Denys Vuika
@DenysVuika
@OGurcay we don't support Share here, it's ADF and Angular channel
@shahjigirp the SSL configuration is fully your responsibility, javascript and web apps have nothing to do with that
shahjigirp
@shahjigirp
@DenysVuika that's right. I have configured my ACS with SSL using client certificate.. while providing this ACS URL as endpoint in ecmHost, I need to pass certificate, right? Hence, I would like to know in terms of ADF.. How it can be passed?
Denys Vuika
@DenysVuika
@shahjigirp try googling in terms of running Angular apps with certificates. do you know any examples of javascript single-page apps dealing with that? I'm afraid we provide no support for certificates. Maybe this article can give you more details: https://medium.com/@rubenvermeulen/running-angular-cli-over-https-with-a-trusted-certificate-4a0d5f92747a. But I still think it's not the concern of the web app to do that
@shahjigirp you can also raise support ticket if you are a paying customer, maybe that's something support people can help you with
shahjigirp
@shahjigirp
@DenysVuika , thank you for your response.. I have raised Alfresco Support ticket and waiting for response.
However, I would give you brief on Alfresco Share which can be considered a web app.. we have configured p12 certificate in share-config-custom.xml file and able to access share. Hence, same way, I'm looking for ADF
bfleury-alfea
@bfleury-alfea

Hello everyone,

i'm developping an APW based app for a customer and i have an "issue" regarding attachment from forms in ADF.
In APS, when you add a "Show value" of an "Attach File" component, you have a preview of the attachments.
In ADF, you only have a list of the attachments.
Is there something i can do to add a preview in ADF ?

In advance, Thank you

(I can provide screenshots if needed)

13 replies
Leonardo Mattioli
@LeoMattioli_twitter
Hi, with ADF how can I get the node Target Associations? In the JS-API I can find the command listTargetAssociations, but in ng2 components no. Correct or I'am looking in the wrong place?
And what would be the best practice in that case? Extend the NodesApiService, make REST calls to backend or "depends/up to you"? What do you suggest?
1 reply
Eddie May
@freshwebs_twitter
uclaeamsavino
@uclaeamsavino
@eromano - I made a comment on this bug - Alfresco/alfresco-ng2-components#5795
Basically the user should be able to tab through a form for disability access. For any form we use, the tab sequence gets stuck on a date-field. The user cannot tab to the next field. Are you seeing different behavior?
Amruta Wandakar
@amrutawandakar
Hello all, I want some assistance regarding the old process instance, As I had configured my visibility condition for drop-down label but now i'm using ADF 3.7 facing issue with old instance like wherever i had configured for drop-down label those fields are not displaying can any one tell me how can i achieve this.
Denys Vuika
@DenysVuika
I suggest checking the issue in a separate copy with the ADF 4.1 to see if it was fixed already or not
Amruta Wandakar
@amrutawandakar
Like as exmaple you can consider if in your drop-down you have colors red, yellow, and green. When the user selects the color red based on that text box will appear. In the text box visibility i had configured like drop-down value label condition.
okay

I suggest checking the issue in a separate copy with the ADF 4.1 to see if it was fixed already or not

okay

cmsdevelop
@cmsdevelop

Hi Team,

I am using alfresco document list and alfresco datatable.When press particular key, I want focus on the first row alfresco document list and alfresco datatable, Also I want to get focus row value

Denys Vuika
@DenysVuika
for the moment, the programmatic focus is not supported, you can raise a feature request for that
Manki
@MankiNgai_twitter
@here hi all, i just found something weird in AttachFileWidgetComponent, you can reproduce the issue by following steps:
  1. upload a file named a.png, and it will be stored in tempFilesList
  2. remove the uploaded file
  3. re-upload the file named a.png, because input doesn't detect value change, so it wouldn't trigger function onAttachFileChanged. so upload action will do nothing.
    anything suggestion?
Manki
@MankiNgai_twitter
btw, for form rendering service, Attach -> "upload" -> AttachWidgetComponent or UploadWidgetComponent (based on metadata), how can i understand metadata, where can i change this one?
shahjigirp
@shahjigirp
Hello Everyone, I need help on externalizing configurations of app.config.json file in my ADF application. I am building app and deploying dist folder on Tomcat/Apache. Now, if I define <ecmHost> as ${ecmHost} in app.config.json file, then I want this value to be referenced from some external file. How can I achieve this? Is there any way?
11 replies
warharra
@warharra
Hello,
how can I reinitialize a password with the email adress? I found a function using the personal ID, but I dont know how to get it with only the email adress. Thanks in advance for your help
Denys Vuika
@DenysVuika
@warharra you can get the person object (use -me- to get the logged in user, more details here https://api-explorer.alfresco.com/api-explorer/#!/people/getPerson). Then you can use password reset feature with that ID. For the admin UI if you are building such, you should already have a list of users with their ids, so no need for email addresses.
11 replies
uclaeamsavino
@uclaeamsavino
@eromano sorry to keep bugging you guys about #5795, but it's really important to our users. I made a video and posted it in our thread. Our version of ADF is doing this with none of our JS customizations, just styles. But the alfresco workspace (which is on ADF 3.6) does not do it. Maybe there's something we're doing? Is there a reference ADF 4.1 running somewhere I could look at?
vlopatka
@vlopatka
Hi all, sinds apiService.getInstance().webScript.executeWebScript(...) webscript api is deprecated what can i use as alternative?
Stefan Bakić
@sbakic_gitlab

@DenysVuika Is there a way to configure search JS API to search against DB not solr index? Check this 2019.. Alfresco/alfresco-ng2-components#5062

I want to use "db-afts"

Denys Vuika
@DenysVuika
No, the JS-API search is generated based on the swagger api of the https://api-explorer.alfresco.com/api-explorer/#!/search/search.
you can call any other api directly from your app, the JS-API should not be the blocker for you
Stefan Bakić
@sbakic_gitlab
Well if the query is structured in a way, it will first go to DB instead of solr. So it works if you are careful enough. Thanks anyway
OGurcay
@OGurcay
Is it somehow possible to extend "allowableOperations" that is used for node permissions? I made some changes to the move operation in share and now I want to be able to see the changes take place in the content app as well.
Denys Vuika
@DenysVuika
ACA is not using Share, only public REST api from ACS
OGurcay
@OGurcay
alright, thanks!
Cahya Wirawan
@cahya-wirawan
Hi, I am new here using ADF. I want to know how to use $q.all in an ADF component. If I just use it, it will complain that $q is undefined. So, I am wondering how to inject $q to an ADF component. Thanks for any help
Dharan
@dhrn
@cahya-wirawan please provide more description.