0

TFS 2018u1. I'm putting together an extension with a custom dialog. One can specify in the manifest that the dialog takes query string parameters:

"properties": { "uri": "mydlg.html?ID={{ID}}&Name={{Name}}"   

and then provide the parameter values in the openDialog() call by passing the urlReplacementObject.

Question: short of parsing the query string in window.location.search, is there a good way to retrieve these parameter values from the dialog scripts?

Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281

1 Answers1

0

No, there isn't any other way to achieve this as far as I know.

Eddie Chen - MSFT
  • 29,708
  • 2
  • 46
  • 60