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
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?
Cahya Wirawan
@cahya-wirawan
Hi @DenysVuika, thanks for your comment. I mentioned that the last code (with "navbar") works, it follows the example in app.extensions.json. Do you think it is still incorrect as you mentioned above?
Cahya Wirawan
@cahya-wirawan
Is there an adf component to search and select a user?
Denys Vuika
@DenysVuika
Yes, People Picker, Group Picker, etc. You can look in ADF docs/code
Shubham Rana
@rshubham19
Hello, how can I share files using alfresco rest api with another alfresco user?
Denys Vuika
@DenysVuika
yes, there are examples in Alfresco Content App on Sharing, also should be in the docs and JS-API
Milochanzy
@Milochanzy

@nvmadhav Hi Venu

for a content model property with list of constraints the classes api retunrs the below response. This property missing in the model object

Did you get this working? I dont see it supported yet...

Milochanzy
@Milochanzy
ACS 7 is still in pipeline for our upgrade, no way to get it in ACS 6.2?
sounds basic feature to support content model
3 replies
cmsdevelop
@cmsdevelop

Hi Team,

I am using alfresco datatable and documentlist .I want set focus on first row and how to get focus row value.Any idea team.

Denys Vuika
@DenysVuika
@cmsdevelop you already asked that some time ago :) programmatic focus management is not supported right now
you can either contribute this feature, or raise a feature request (but there's no guarantee it will be immediately picked)
warharra
@warharra
I want to give access to any folder. The user as the respondent but therefore only the first name comes. I want the first and last name to appear. Can you help me?
Milochanzy
@Milochanzy
Hi team does ADF 4.x work with ACS 6.2?
BenBrudo
@BenBrudo
Yes
Milochanzy
@Milochanzy
Will it take the content model constraints and populate metadata drop down on ACS 6.2? If not which webscript needs to be patched in ACS 6.2 to make it work? (api/classes?)
Nemanja Kurcubic
@nkurcubic.s4hc.com_gitlab

Hi All,

I have a question about the multi line text field in APS. Namely, when the APS form is rendered in ADF, in older versions of ADF (3.x), the rows property of the text area would initially be set to 1 (rows="1"), and the field would add additional row as needed, when the user types. In ADF 4.1, the behavior remains the same, but the rows property is initially set to 3 (rows="3"). Is there a way to set the rows property to 1, so the field does not appear with 3 empty rows when there is no text entered?

BenBrudo
@BenBrudo
Hi, when ADF 4.2.0 will be available on npmjs ?
Denys Vuika
@DenysVuika
we are in the process of releasing it right now, so wait a little bit more for announcements
BenBrudo
@BenBrudo
Ok thanks, no emergency :)
Milochanzy
@Milochanzy
with ACS 7 planned for Q1-2021, ADF 4.2.0 will be usable now?
Muhammed Eren Demir
@Muhammederendemir
Hi everyone, does ADF 4.x work with ACS 7.0.0-M2 ?
Denys Vuika
@DenysVuika
Should work fine, do you have issues with 7.x ?
Tim Donovan
@tdonovancsra
We're having an issue in 3.9 where the save form functionality is saving a variable that should only be set in a complete event via org.activiti.engine.impl.bpmn.listener.ScriptTaskListener
the variable is a Person variable and when we load the form again it's blowing up on a null pointer
Have there been any Save form bugs fixed post 3.9 ? @eromano
Denys Vuika
@DenysVuika
@tdonovancsra you can try upgrading to 4.2 in a separate branch to see if the issues are fixed
MariusGrunenberg
@MariusGrunenberg
Hi, where I can find a browser support matrix for ADF/ACA? I know there was one, but can't seem to find it