mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Change type of newRecord to Page.LookupValue
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ if (Xrm.Page.data.process != null)
|
||||
|
||||
/// Demonstrate v7.1 Quick Create form
|
||||
|
||||
Xrm.Utility.openQuickCreate("account").then(( newRecord ) => { alert( `Newly created record Id: ${newRecord["id"]}` ); });
|
||||
Xrm.Utility.openQuickCreate("account").then(( newRecord: Page.LookupValue ) => { alert( `Newly created record Id: ${newRecord.id}` ); });
|
||||
|
||||
/// Make all controls visible.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user