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
@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.
Cahya Wirawan
@cahya-wirawan
@dhrn I am trying to create chained rest api request as follow:
alfrescoApi.contentClient.callApi('/tasks', 'GET',
    {}, {}, {}, {}, {},
    ['application/json'], ['application/json']).then(
    (response: any) => {
        const results = [];
        const promises = [];
        for (const entry of response.list.entries) {
            console.log('id' + entry.entry.id + ':' + entry.entry.processId);
            const promise = alfrescoApi.contentClient.callApi('/processes/' + entry.entry.processId, 'GET',
                {}, {}, {}, {}, {},
                ['application/json'], ['application/json']).then(
                function(value) {
                    return value;
                }
            );
            promises.push(promise);
        }
        $q.all(promises).then(function(result){
            for (let i = 0; i < result.length; i++){
                console.log('Results: ' + result[i]);
            }
        });
    }
);
But it complained that $q is undefined as I mentined before
Cahya Wirawan
@cahya-wirawan
Another thing, beginner question: how can I navigate to a specific view using onrowclick on adf-datatable?
Cahya Wirawan
@cahya-wirawan
Ok, just found it using router.navigate()
Denys Vuika
@DenysVuika
@cahya-wirawan I think you are trying to use some helper from old AngularJS, there's nothing called "$q" in Angular at all, including ADF
I believe you are looking for a standard "Promise.all" method https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all
Cahya Wirawan
@cahya-wirawan
Great, thanks a lot. I use javascript seldom, and ADF just since 2 weeks, so I am quite behind :-)
Cahya Wirawan
@cahya-wirawan

I am playing with Alfresco Content Application. I am wondering how to add a new entry in side navigation. I follow the intruction in https://alfresco-content-app.netlify.app/#/getting-started/navigation where I created a new component. According to the doc, I have also to add the link entry in app.config.json like

{
  ...,
  "navigation": [
      "main": [ ... ],
      "secondary": [ ... ],
      "custom": [
        {
          "icon": "work",
          "label": "Link",
          "title": "My custom link",
          "route": {
              "url": "/test-page"
          }
        }
      ]
  ]
}

But somehow the new entry is still not displayed in side navigation, what could be wrong?
is the ACA documentation still up to date? because I don't see the "navigation" in app.config.json.
I also don't quite understand what to write in "main": [ ... ] and "secondary": [ ... ], can I just remove it?

Denys Vuika
@DenysVuika
you can check how existing config is structured and add entries, there's already plenty of configuration done in app.extensions.json and app.config.json
Cahya Wirawan
@cahya-wirawan
Great, app.extensions.json is the config that I didn't check (not sure if it was mentioned in the doc). Thanks a lot again
Cahya Wirawan
@cahya-wirawan

I am trying now to add a new item in app.extensions-json, but it doesn't work. Here is the code:

    "create": [
      {
        "id": "app.task-create",
        "order": 50,
        "icon": "",
        "title": "Create Task",
        "description": "Create Task",
        "actions": {
          "type": "NAVIGATE_URL",
          "payload": "/task-create"
        }
      },
      ...

I though if I click it, it will go to the link "/task-create", but it doesn't do anything

Denys Vuika
@DenysVuika
the "actions" structure is wrong
should be "click" action, not "type" + "payload"
Cahya Wirawan
@cahya-wirawan

Hi @DenysVuika , actually I tried it also with "click" like following:

"create": [
      {
        "id": "app.task-create",
        "order": 5  
        "icon": "",
        "title": "Create Task",
        "description": "Create Task",
        "actions": {
           "click": "/task-create"
        }
      },

But it doesn't work (with ''/task-create' or just 'task-create').
I tried using "type": "NAVIGATE_URL", and "payload": "/task-create" because I followed the
documentation about Actions: https://alfresco-content-app.netlify.app/#/extending/actions.

What it works in my case is I put the new item not under "create" but under "navbar" as follow:

    "navbar": [
      {
        "id": "app.navbar.primary",
        "items": [
          {
            "id": "app.task-create",
            "order": 75,
            "icon": "folder",
            "title": "Create Task",
            "description": "Create a new Task",
            "route": "task-create"
          },
     ...

But, I would like to have the task-create also under "create". Thanks

Denys Vuika
@DenysVuika
please check existing app.extensions.json, there's plenty of examples there already
all the code above in your examples is incorrect, please also check the docs
Shubham Rana
@rshubham19
Hello, how can I share files using alfresco rest api? Is there any way to setup a family sharing group?
George Hernando
@ghernando_gitlab
The ACA PDFJS viewer in version 2.1.0 has a 'Fit' option. I'd like to be able to have a 'full height' or 'full width' capability (actually both). I think the current behavior is viewing at 100%. Is there a way to configure the behavior?