Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Data: Not working on classic page #2515

Closed
nhadro opened this issue Sep 11, 2018 · 3 comments

Comments

@nhadro
Copy link

@nhadro nhadro commented Sep 11, 2018

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

The below code should work fine on classic pages as well as modern
this.context.dynamicDataSourceManager.initializeSource(this);

Observed Behavior

When we add a webpart to a classic page that is a IDynamicDataController, the spinner stays there and a console error is thrown that says:
Uncaught Error: Source id contains invalid characters, like "_". Id: "WebPart.00000000-b799-43d5-8529-63f7caf2bd7c.g_cf8229db_8dfa_4a94_a622_ad12393f9c7d".

Steps to Reproduce

Build a SPFX webpart that implements IDynamicDataController and on Init calls "this.context.dynamicDataSourceManager.initializeSource(this);".
Once built deploy to a SharePoint and add to a classic page.

@VesaJuvonen
Thanks for your contribution! Sharing is caring.

@Seiyasu

This comment has been minimized.

Copy link
Contributor

@Seiyasu Seiyasu commented Sep 12, 2018

What is your SPFx version and the library versions in package.json?

@nhadro

This comment has been minimized.

Copy link
Author

@nhadro nhadro commented Sep 12, 2018

Dynamic Data is only available in the "1.5.1-plusbeta" packages

image

@VesaJuvonen

This comment has been minimized.

Copy link
Contributor

@VesaJuvonen VesaJuvonen commented Oct 4, 2018

Lack of dynamic data support in the classic is by design and we are not currently planning to support this with the GA version of the dynamic data. Notice that there are also other ways to bypass the content between the components if needed for the classic experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.