cancel
Showing results for 
Search instead for 
Did you mean: 

Weekday to be displayed on a date field

0 Kudos

Hi,

We are working on iOS platform and implementing an agentry application.

We have a requirement to also display the weekday along with the date while selecting the date.

But, in agentry we see no control to display the weekday on the date field .

Any ideas if we have a workaround to do this or any ideas?

Thank you.

Shanthi

Accepted Solutions (1)

Accepted Solutions (1)

jason_latko
Active Contributor
0 Kudos

Shanthi,

Here is an example rule that displays the day of week from a date property.  It should also work if you use a DateTime property.  You will probably need to change the CAST from Date to DateTime:

Jason Latko - Senior Product Developer at SAP

0 Kudos

Hi Jason,

Does the above rule help in displaying the weekday along with date in the dropdown ?

Like in the screenshot attached.

Or is this the update rule to display weekday after the date has been chosen?

Regards,

Shanthi

jason_latko
Active Contributor
0 Kudos

Shanthi,

No it would display the day after the selection using an update rule.  Like Steve said, I don't believe there is a way to modify the control view itself.  You would need to use OpenUI to code the new control behavior yourself.

Jason Latko - Senior Product Developer at SAP

Answers (1)

Answers (1)

Former Member
0 Kudos

Why there is no build in way in Agentry to do it, you can use a update rule.  While in the update rule you can use Javascript and return the value: JavaScript getDay() Method

Stephen

0 Kudos

Hi Stephen,

Thank you for the response. The update rule will help to display the day after the date has been chosen.

Any possibility to show the weekday in the dropdown like above while choosing the date?

Thank you.

Shanthi

Former Member
0 Kudos

You can't add the column to the default date selector.

0 Kudos

Thank you for the clarification.