Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 12, 2012 06:57 AM by KDegrave
Member
9 Points
9 Posts
Mar 02, 2012 02:28 AM|LINK
I am finding issue while consuming RIA Service using upshot.
using upshot.riaDataProvider.
RIA service tipically returns object contains GetxxxResult{....RootResult[{}]} ,
so entity meta data do not match with result.
Contributor
5130 Points
1464 Posts
Mar 03, 2012 05:47 AM|LINK
JhalaJ JhalaJ
Usually Ria Service return to client with Object(Client does not know how to manipulate the object) so that you should convert those object into array.
30 Points
7 Posts
Mar 15, 2012 06:49 AM|LINK
Hi Thaica:
I have the same issue. by now in my apps, I use hand-code metadata. it dosn't what We wish.
how we can get the matadata by Upshot.js ? show me a code sample please. thank u very mach !!!
96 Points
25 Posts
Apr 12, 2012 06:57 AM|LINK
This is because your metadata isn't send to the client. You have to configure this on your json endpoint by adding transferMetadat="true".
For more information, you can read my blogpost about it http://www.kristofdegrave.be/2012/04/upshotjs-knockoutjs-html5-client-for.html. Also I have an example application on codeplex: https://ria4htmldemo.codeplex.com/
I hope this provides an awnser on your question.
greetings
Kristof
JhalaJ
Member
9 Points
9 Posts
Consuming RIA Service using upshot
Mar 02, 2012 02:28 AM|LINK
I am finding issue while consuming RIA Service using upshot.
using upshot.riaDataProvider.
RIA service tipically returns object contains GetxxxResult{....RootResult[{}]} ,
so entity meta data do not match with result.
thaicarrot
Contributor
5130 Points
1464 Posts
Re: Consuming RIA Service using upshot
Mar 03, 2012 05:47 AM|LINK
Usually Ria Service return to client with Object(Client does not know how to manipulate the object) so that you should convert those object into array.
Weera
zhangbenrong
Member
30 Points
7 Posts
Re: Consuming RIA Service using upshot
Mar 15, 2012 06:49 AM|LINK
Hi Thaica:
I have the same issue. by now in my apps, I use hand-code metadata. it dosn't what We wish.
how we can get the matadata by Upshot.js ? show me a code sample please. thank u very mach !!!
KDegrave
Member
96 Points
25 Posts
Re: Consuming RIA Service using upshot
Apr 12, 2012 06:57 AM|LINK
This is because your metadata isn't send to the client. You have to configure this on your json endpoint by adding transferMetadat="true".
For more information, you can read my blogpost about it http://www.kristofdegrave.be/2012/04/upshotjs-knockoutjs-html5-client-for.html. Also I have an example application on codeplex: https://ria4htmldemo.codeplex.com/
I hope this provides an awnser on your question.
greetings
Kristof
Ria4HTML: http://ria4htmldemo.codeplex.com
Linq2IndexedDB: http://linq2indexeddb.codeplex.com