Alfresco 6.2 Effectivity aspect date only

cancel
Showing results for 
Search instead for 
Did you mean: 
MichelGabriel
Active Member

Alfresco 6.2 Effectivity aspect date only

Jump to solution

Hi, 

In Alfreco 5, we can set a date and a time

Screenshot 2021-03-03 at 14.44.36.png

In Alfreco 6.2, we can not set the time.

Screenshot 2021-03-03 at 14.46.53.png

How can I configure the cm:effectivity aspect to set a datetime instead of a date ?

I read the documentation, but didn't see where I can change an existing aspect property.

Thanks in advance,

Michel

1 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: Alfresco 6.2 Effectivity aspect date only

Jump to solution

I guess you can override the configuration for the aspect in Share Form:

https://github.com/Alfresco/share/blob/2c2d8e2cc44bc43a1705476bb3cdc1e5d7aee1ad/share/src/main/resou...

You need to enable param "showTime", that is false by default.

Hyland Developer Evangelist

View solution in original post

3 Replies
angelborroy
Alfresco Employee

Re: Alfresco 6.2 Effectivity aspect date only

Jump to solution

I guess you can override the configuration for the aspect in Share Form:

https://github.com/Alfresco/share/blob/2c2d8e2cc44bc43a1705476bb3cdc1e5d7aee1ad/share/src/main/resou...

You need to enable param "showTime", that is false by default.

Hyland Developer Evangelist

View solution in original post

angelborroy
Alfresco Employee

Re: Alfresco 6.2 Effectivity aspect date only

Jump to solution

I guess you were using Alfresco 5.0, right?

From 5.1 the configuration doesn't show the time:

https://github.com/Alfresco/share/blob/5.1.g/share/src/main/resources/alfresco/share-form-config.xml...

Hyland Developer Evangelist
MichelGabriel
Active Member

Re: Alfresco 6.2 Effectivity aspect date only

Jump to solution

Thanks Smiley Happy I've overridde it and now I can see the time !