0

I have sitecore power-shell and sitecore 8 with SXA module. I need to have a dialog box that will allow user choose Item from a tree. is it any way to do it ? not sure that standard dialog could do it

Read-Variable -Parameters `
    @{ Name = "item"; Title="Template branch to analyse"; Tooltip="Branch you want to analyse."; Root="/sitecore/templates/"} `
    -Description "This report will analyse the template branch and will tell you which field types are used in which quantities." `
    -Title "Count field types used by templates." -Icon "Control/32x32/multi_controls_b.png" -Width 600 -Height 280 `
    -OkButtonName "Proceed" -CancelButtonName "Abort" 

seems ok

  • Could you please elaborate more on the dialog? When it should be opened? Button in toolbar? What should happen when you select item from tree? – Peter Procházka Jul 11 at 8:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.