-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for CRM2016 Autocomplete methods
- Loading branch information
1 parent
e936134
commit 11159f4
Showing
5 changed files
with
127 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
39 changes: 39 additions & 0 deletions
39
SparkleXrmSource/SparkleXrm/XrmImport/Page/Ui/AutocompleteResultsSet.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// AutocompleteResults.cs | ||
// | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Runtime.CompilerServices; | ||
|
||
namespace Xrm.XrmImport.Page.Ui | ||
{ | ||
[Imported] | ||
[ScriptName("Object")] | ||
[IgnoreNamespace] | ||
public class AutocompleteResultSet | ||
{ | ||
public List<AutocompleteResult> Results; | ||
public AutocompleteAction Commands; | ||
} | ||
|
||
[Imported] | ||
[ScriptName("Object")] | ||
[IgnoreNamespace] | ||
public class AutocompleteResult | ||
{ | ||
public string Id; | ||
public string Icon; | ||
public string[] Fields; | ||
} | ||
|
||
[Imported] | ||
[ScriptName("Object")] | ||
[IgnoreNamespace] | ||
public class AutocompleteAction | ||
{ | ||
public string Id; | ||
public string Icon; | ||
public string Label; | ||
public Action Action; | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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