Make a control's display same with it's value

  • 10 January 2018
  • 1 reply
  • 0 views

I have a control called whose value is a date - 19*personal details removed*:00:00Z

 

I'm trying to to do things:

1.) Change 25-Jun-85 to 19850625

2.) Change the value of 19850625 to 19850625

 

Only (1) above works but the value still remains 19*personal details removed*:00:00Z. I'll need it's vale as 19850525 because I'll need to pass it to an API

 

 


1 reply

Userlevel 5
Badge +18

Was this implemented as so?


 


1.  Add a data label control (you can make it not visible later)


2.  Add an expression to this datalabel to convert the control holding the datetime stamp to the format you want



3.  Use that hidden data label instead of the control when calling your API SmartObject?

Reply