![]() ![]() ![]() The plain "rename" functions forces me to choose only one particular file (=file name)Įpisode Fifteen of Power Platform Connections sees David Warner and Hugo Bernier talk to Microsoft MVP Lewis Baybutt aka Low Code Lewis, alongside the latest news and community blogs. ![]() tomorrow or next month) won't work, as the name of the downloaded file changes, hence PA doesn't recognize the file anymore that works for this particular download, but the next download (e.g. I added the action "Click on UI element in window" and saved the current file name And there is exactly my challenge: How do I rename a file whose name changes from month to month (or rather depending on the date when I download the file)? ![]() in order that the query in my xls-report works, I need to rename the download to a standardized name, e.g. "download_20220927.xlsx" - part 1 "download_" never changes, part II "20220927" changes always according to the current date when I retrieve the data the download file name consists of two parts, e.g. for that, I have to download some data (also xls) from a website (which I have automated via Power Automate) Comment them out if your site is running in IE Compatibility mode, as IE5 didn't have a console.- I am maintaining a xls-report that needs to be updated with the latest data every month R.ExportUrlBase = url.substring(0, i) + 'FileName=' + filename + url.substring(j) Ĭonsole.log('reset filename to ' + filename) Įdit: I noticed that this code didn't run in IE on the corporate network. function modifyExportFileName(), 1000) //maybe we're not done loading. This works fine with spaces and other special characters (as long as they're allowed in a file name). The checks against the URL ensure that it only affects reports it is supposed to change the name on. What I ended up doing was adding some javascript to ReportViewer.aspx in \ReportServer\Pages\, in a script tag at the end of the. There's a tutorial here which got me started but didn't fully work for me. You can also do this using a Javascript hook. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |