How is Alfresco Digital Workspace intended to be customized?
These are options that came to my mind:
Add customizations as Angular Library in Alfresco Digital Workspace application?
Add customizations in Alfresco Content App and deploy it as root project in Alfresco Digital Workspace application?
Alfresco Hackathon is happening now - come & join us.
Does anyone know how to determine the current tab in the form? We're trying to do some custom behavior based on which tab is showing. I've been trying to find a way to get the current tab index for most of the day but no luck. It's probably something simple I'm just missing. Please help :)
Ok I'd doing this but I don't feel good about it: const activeTab = document.getElementsByClassName("mat-tab-label-active");
I guess we're safe unless angular changes their class names or adf stops using angular material tabs
Hey @DenysVuika - quick question - is the ability to set a field's value programmatically, as the user clicks around the form not an expected requirement? We were able to programmatically set checkbox value until 3.8. But with this code change we no longer can update a checkbox in real time programatically. It only happens on init of the checkbox (IE - after saving the form and reloading) https://github.com/Alfresco/alfresco-ng2-components/pull/5657/files
Date fields are the same. There's no access to update the form widget in real time. Luckily text fields still work. But if that ever changes it would really break our form.
I worry that I'm doing some behavior that was never intended.
Looks like a regression to me
Hi @_MattSavino_twitter , as you pointed out we did some work in the checkbox widget after spotting a bug in the initialization. To be honest I didn't have your behavior in mind when refactoring this widget. As you mentioned it will only be changed after the OnInit lifecycle hook. I'll open a ticket to make sure that the value of this widget can be changed programatically.
Ok thanks that would be amazing. Date fields and dynamic tables are the same FYI - you can't update them on the fly programatically.
@_MattSavino_twitter were you able to set the date programmatically in the Date Widget before? I don't think it was possible. This widget hasn't got any change other than the date format in the last year or so. The problem with this widget is that it needs to be parsed in its On Init to follow the date format selected.
It would always need to be reinitialized to display the new value
@davidcanonieto No I just started working on this a few weeks ago and I've never been able to programmatically set a date field. I was just letting you know from looking at the code that I think it's a similar issue with date widget.