Date and Time Data Extract Output Name

7079
23
10-11-2016 08:43 PM
AhmadSopian1
New Contributor

I would like to ask how to change the name of the resulting data extract into the current date and time??? thanks master..

outputFileName = (configXML.outputfilename[0] || "yyyy-MMM-dd-HHmmss") + ".zip";
outputFileName = outputFileName.replace(/(\\|\/|:|\?|"|<|>|\|)/g, "");‍‍
0 Kudos
23 Replies
RobertScheitlin__GISP
MVP Emeritus

Ahmad,

   What version of Flex Viewer are you working with. 

0 Kudos
AhmadSopian1
New Contributor

Mr. Robert,

I use flex viewer 2.5 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Ahmad,

   Wow, so not only are you using a retired technology you are using an older version of it.  Sorry I do not have any more time to spend on this.

DanPatterson_Retired
MVP Emeritus

Ahmad

I might be worthwhile to have a quick read through this blog post in the Community section

https://community.esri.com/community/help-and-feedback/blog/2016/08/15/community-news-and-tips-how-t... 

The import steps that people asking questions need to consider is that they disclose information as outlined in Step 2.  This is particular important since legacy software documentation and help files may not be available online.

Robert has spent a great deal of time trying to figure out what your problem was and to make suggestion... take the time and go through his posts and mark them as helpful... Helpful doesn't mean your problem was solved, but it means just that...  Good luck and describe your situation more completely the next time you need help