Created
February 10, 2016 21:15
-
-
Save gillissm/13d6caf2b0ce344e4745 to your computer and use it in GitHub Desktop.
Execute method for the Contact Facet Dialog XAML code behind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Execute(XElement element, string name, UrlString parameters, string value) | |
{ | |
Assert.ArgumentNotNull((object)element, "element"); | |
Assert.ArgumentNotNull((object)name, "name"); | |
Assert.ArgumentNotNull((object)parameters, "parameters"); | |
Assert.ArgumentNotNull((object)value, "value"); | |
UrlString str = new UrlString("/sitecore/shell/~/xaml/ContactFacetDialog.aspx?ti=Contact Facet Picker&txt=Select a contact facet property&spk="+value); | |
SheerResponse.ShowModalDialog(str.ToString(), true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment