by

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
anika-peneva
@anika-peneva

Hello everyone! I am using custom date widget and I have two fields (date_from and date_to) so basically what I want to do is when the user selects date_from if the date_to is not set yet, to set it with the same value from date_from. The value of the element is updating, but not the UI. Is there a way to manage this?

Another question: do you know if I will be able to manipulate the UI if I use date-range search filter or it will be the same as using just date widget?

Eugenio Romano
@eromano
Hello, guys, sorry, I have been a little bit busy but I happy to says that ADF 4.0.0 has been released https://github.com/Alfresco/alfresco-ng2-components/releases/tag/4.0.0 and now we are on Angular 10
2 replies
shahjigirp
@shahjigirp
Great.. Looking forward to upgrade to 4.0 version. One question on upgrade, what are the steps to upgrade ADF 3.8.0 to ADF 4.0.0? In documentation, i can see upgrade path from 3.9.0 to 4.0.0 only.. Can you help me with upgrade path and what all changes would be needed?
5 replies
Sanjay Patel
@sanju24689_gitlab
Hello everyone, I am using ADF with APS for my application. I want to know that what is the validity of token? I am getting same token for same user every time I am logout-login.Please comment @eromano
Sanjay Patel
@sanju24689_gitlab
@zain-abideen-87 Do you got answer of APS Ticket epiration?
Eugenio Romano
@eromano
The aps token works as you mention is not an ADF really topic. It is valid until you don't logout
bandhans
@bandhans
Can we set expiry date for token?
shahjigirp
@shahjigirp

Hello, I'm generating my ADF project using Yeomen generator and starting it. When I access it from browser, in browser console, I'm seeing below messages.
Can anyone tell me how can I fix these errors/issues?


Angular is running in development mode. Call enableProdMode() to enable production mode.
:4200/resources/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/assets/adf-core/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/assets/adf-content-services/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/resources/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/assets/adf-content-services/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/resources/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/assets/adf-core/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/assets/adf-content-services/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/assets/adf-core/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:4200/resources/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)
adf-core.js:31599 Failed to load assets/adf-core/i18n/en-GB.json?v=1598266010872
(anonymous) @ adf-core.js:31599
adf-core.js:31599 Failed to load resources/i18n/en-GB.json?v=1598266010872
(anonymous) @ adf-core.js:31599
:4200/assets/adf-content-services/i18n/en-GB.json?v=1598266010872:1 Failed to load resource: the server responded with a status of 404 (Not Found)

loictrichaud
@loictrichaud
Hello,
I just upgraded to version 4.0.0.
I have a problem with the contextMenuActions in the document-list.
When I right-click on a document, the context menu doesn't open and I get the following error:
Error: No component factory found for ContextMenuListComponent. Did you add it to @NgModule.entryComponents?
Thanks for your help
7 replies
vpasudo
@vpasudo
Hello, we are configuring SSO authentication on our ADF apps, but silentLogin set to true, still shows a popup for authentication even if the current user is logged in with the idp. Are we missing something ? Also what's the goal of the redirectSilentIframeUri property ? Thanks
shahjigirp
@shahjigirp
Hello, I have integrated ADF Viewer in my custom component. In this component, I'm searching and listing documents from Alfresco repository. Now, on click, of a searched document, I'm opening ADF-Viewer component using below code.
<adf-viewer [showViewer]="true" [overlayMode]="true" [nodeId]="'d367023a-7ebe-4f3a-a7d0-4f27c43f1045'">
</adf-viewer>
I'm able to preview document in Viewer.. However, issue is with Labels.. I'm not able to see labels... I can see, ADF_VIEWER.PAGE_LABEL.SHOWING, ADF_VIEWER.ACTIONS.CLOSE, ETC
How can I see all labels? Do i need more configuration for ADF Viewer component?
vpasudo
@vpasudo
Looks like your application can't reach translation files I don't think it is related to viewer component
shahjigirp
@shahjigirp
I've this issue only with viewer component..
4 replies
Tsigie Kumssa
@kumssa_tsigie_twitter
This message was deleted
1 reply
Zain ul Abideen
@zain-abideen-87
is is possible to disable internationalization?
3 replies
Manki
@MankiNgai_twitter
Hi all, as tslint is deprecated, is it possible to change tslint to eslint in the future? i just migrate tslint to eslint in my project, while there is a dependence adf-tslint-rules, is it a must?
3 replies
Zain ul Abideen
@zain-abideen-87
image.png
image.png
@eromano please see above screenshots
Eugenio Romano
@eromano
should happen twice for each module as far I remember because one is the lazy loading of the extensions and the other the default of the module
uclaeamsavino
@uclaeamsavino
Is this Alfresco acquisition going to affect ADF?
Also does anyone know if Alfresco Process Workspace is planning to upgrade to ADF 4, or are they done upgrading? https://myalfresco.force.com/support/articles/en_US/Release_Notes/Alfresco-Process-Services-Workspace-1-3-4
Amruta Wandakar
@amrutawandakar
image.png
I have created stencil with field type as date
when i have created process with this field, when i try to retrive that it gives String as type, but it should be given as date.
image.png
i'm wondering why this is giving as string, if anyone knows please tell me
Denys Vuika
@DenysVuika
@amrutawandakar I don;t think that is related to ADF
Amruta Wandakar
@amrutawandakar
okay thank you
cmsdevelop
@cmsdevelop
Hi Team
I have used file-uploading-dialog component to show the upload status dialog box status in the right bottom of the page. when I am navigating to other component upload status dialog box is hiding and also upload functionality is terminated. please provide some inputs on how to show upload status dialog box when navigating to another component
JCarlos12
@JCarlos12
Is there anyway to change the adf-sidenav-layout styling and transitioning
Because currently the adf-sidenav-layout-header is anchored in the top,
I was planning to make it responsive when the side nav is opened or closed
Similar to angular material sidenav
shahjigirp
@shahjigirp
@DenysVuika @eromano , We have configured SSL configuration between ACS (VM1) and ADF (VM2) application. This configutation is working fine if we use "CerificateVerification" attribute value as "none" in "SSLHostConfig" tag in tomcat server.xml but when we tried to change this "CerificateVerification" attribute as "required", we are getting error while we login to ADF application. While for share, we are passing certificate using share configuration files. Share login is working with certificates.
ACS 6.2.1 is hosted in Tomcat 8.x server in VM1 and ADF Application is hosted in Apache tomcat 8.x server in VM2. What configurations are needed in ADF side? How can we pass ACS SSL certificate from ADF?
1 reply
dhrn
@dhrn
IMHO: Handling SSL in ADF is not a good approach. I suggest you try handling it in the Nginx server.
2 replies
Muhammad Farid
@Mmferry
Hello Guys, Have anyone face issue with favourite in viewer
version 3.6.0
Abdul Quadar
@Abdul-Quadar-Quazi
Hello @DenysVuika, is there any way where the visibility field on isVisible property is false then the value of the field should be made null/undefined.
shahjigirp
@shahjigirp
In my ADF Project, I am previewing documents in ADF Viewer component and set allowPrint option to true.. Now, for some of the mimetypes, like, csv, gif, on clicking of Print, it directly downloads.. not opening in print preview.. for other pdf, image, etc. mimetypes, print preview pop-up is opening.. Can anyone please help here? What could be the issue?
Manki
@MankiNgai_twitter
Screenshot 2020-09-21 at 2.40.41 PM.png
Hi All, i just get an issue after upgrading ADF to 4.0.0 as above: it will logout and redirect to login page after I login successfully. here is my app.config.json settings
"bpmHost": "{protocol}//{hostname}{:port}",
"identityHost": "{protocol}//{hostname}{:port}/auth/realms/alfresco",
"providers": "BPM",
"authType": "OAUTH",
"oauth2": {
"host": "{protocol}//{hostname}{:port}/auth/realms/alfresco",
"clientId": "alfresco",
"scope": "openid",
"secret": "",
"implicitFlow": true,
"silentLogin": true,
"redirectSilentIframeUri": "{protocol}//{hostname}{:port}/assets/silent-refresh.html",
"redirectUri": "/",
"redirectUriLogout": "/logout",
},
7 replies
Yevhenii Herasymchuk
@EugeneHerasymchuk
With Angularv10 warnings for getting of AMD / CommonJS dependencies:
"adf-content-services.js depends on 'moment-es6'. CommonJS or AMD dependencies can cause optimization bailouts."
Where would you suggest to go? do we have plans for potential PRs related to this direction?
Denys Vuika
@DenysVuika
For now those are warnings, not errors. We will address those over time for sure. Meanwhile, if you really get uncomfortable with those warnings, Angular has a way to suppress them: https://github.com/Alfresco/alfresco-content-app/blob/develop/angular.json#L15
Yevhenii Herasymchuk
@EugeneHerasymchuk
thanks a lot, of course, I was more interested in where in future you're looking to change it
Yevhenii Herasymchuk
@EugeneHerasymchuk
but I have another interesting issue.
In general, after update to v4, jest swears so much on adf-core. Mock is different from Service :)
Property 'initialize' is missing in type 'AlfrescoApiService' but required in type 'AlfrescoApiServiceMock'.
    53     apiService = TestBed.inject(AlfrescoApiService);
           ~~~~~~~~~~
      node_modules/@alfresco/adf-core/mock/alfresco-api.service.mock.d.ts:25:5
        25     initialize(): Promise<any>;
               ~~~~~~~~~~
1 reply
cmsdevelop
@cmsdevelop

Hi Team,

<adf-document-list

#documentList
[currentFolderId]="'-my-'"
[contextMenuActions]="true"
[contentActions]="true">
<data-columns>
    <data-column key="key1" title=" Title 1"></data-column>
    <data-column key="key2" title="Title 2"></data-column>
    <data-column key="key3" title="Title 3" class="full-width name-column"></data-column>
    <data-column key="key4" title="Title4"></data-column>
</data-columns>

</adf-document-list>

When I mouse hover on the datacolumn it is showing title but i need to show key value. What attribute is used to show the key-value?. Please help me out

Denys Vuika
@DenysVuika
I think it was fixed long time ago. Are you using some old version?
Stefan Bakić
@sbakic_gitlab
I am confused now. In Alfresco JS API, there is listPeople() that returns Person objects (src/api/content-rest-api/model/person.ts). And in payload for each user (person) there is displayName property, but Person object doesn't have it. Am I missing something?
Stefan Bakić
@sbakic_gitlab
It's added in 4.0.0.. version hm... :(