Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17903

Custom Streaming Tile -moment construction falls back to js Date

$
0
0

Hi Guys

 

I'm experimenting with creating live tiles directly into a dashboard with streaming datasets. But if i stream a datetime field, the tile is not refreshed and i got this in edge inspector:

 

"

Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
Error
at Anonymous function (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:6989)
at da (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:7400)
at Ba (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:11277)
at Aa (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:10990)
at za (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:10881)
at Ca (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:11474)
at Da (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:11619)
at a (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:1007:195)
at a (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.bundle.min.js:66:16900)
at i (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.common.bundle.min.js:12:28610)
powerbiportal.dependencies.externals.bundle.min.js (1007,6823)
SEC7131: Security of a sandboxed iframe is potentially compromised by allowing script and same origin access.

"

 

I'm using  this in c# to send the value: "DateTime.UtcNow.ToString();";

 

If i send only the field with the value that i want the tile is refreshed as expected!

 

I'm doing something that it's not supposed to or is a bug with powerbi?

 

Thanks

Helder


Viewing all articles
Browse latest Browse all 17903

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>