Skip to content

Updated XRM.Navigation.navigateTo to be up to date - #192

Merged
TomMalow merged 5 commits into
delegateas:gh_masterfrom
KnethM:182_update_navigateTo
Aug 10, 2020
Merged

Updated XRM.Navigation.navigateTo to be up to date#192
TomMalow merged 5 commits into
delegateas:gh_masterfrom
KnethM:182_update_navigateTo

Conversation

@KnethM

@KnethM KnethM commented Jul 8, 2020

Copy link
Copy Markdown
Contributor

Fixes #182

KnethM added 3 commits July 8, 2020 10:12
Changed object PageInput to individual objects EntityList, EntityRecord, WebResource.
- added pageinput interface
- added interface extensions
- updated attributes
@sudhip-git

Copy link
Copy Markdown

Could you please confirm when this pull request will be merged

@magesoe

magesoe commented Jul 24, 2020

Copy link
Copy Markdown
Collaborator

I am back from vacation next week, will look at this PR then

@magesoe magesoe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the PR, some minor changes. Do you agree with them?

* @param navigationOptions Options for navigating to a page: whether to open inline or in a dialog. If you don't specify this parameter, page is opened inline by default.
*/
navigateTo(pageInput: PageInput, navigationOptions: NavigationOptions): Promise<undefined>;
navigateTo(pageInput: EntityRecord | EntityList | WebResource, navigationOptions: NavigationOptions): Promise<undefined>;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the documentation, navigationOptions is optional, so it should be navigationOptions?

Comment thread src/XrmDefinitelyTyped/Resources/Extensions/xrm_ext_9-.d.ts Outdated
KnethM added 2 commits July 31, 2020 19:03
- removed type PageType
- removed pageinput interface
- added pageType variable to each individual interface
- changed navigationOptions to be optional
@TomMalow
TomMalow merged commit 2198662 into delegateas:gh_master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typings for XRM.Navigation.navigateTo are out of date.

4 participants