0

sharepoint にいくつかのオブジェクト (単純なタイプではない) を保存し、すべてのサイトからそれらにアクセスする必要があります。私の最初の試みは SPPersistedObject で保存することでしたが、リストは保存できません:

he platform does not know how to deserialize an object of type DataItems.SearchResultItem. The platform can deserialize primitive types such as strings, integers, and GUIDs; other SPPersistedObjects or SPAutoserializingObjects; or collections of any of the above. Consider redesigning your objects to store values in one of these supported formats, or contact your software vendor for support.

これどうやってするの?

4

2 に答える 2

1

解決策は、SPPersistedObject を保存し、オブジェクトを xml 文字列にシリアル化することです。

于 2011-05-13T13:45:58.017 に答える
1

あなたは実際に何を救おうとしていますか?保存しようとしているもの全体を表すさまざまな列を持つ SharePoint リストに簡略化できますか?

于 2011-04-19T15:17:55.877 に答える