Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Project Server - Filtering projects with csom by custom field

$
0
0

Hello, somebody could help me with the question down?

I'm trying to filter the PWA projects through custom fields and my query returns values but in the project server api returns the field value.


C #

 var projetoValor = contexto.LoadQuery(contexto.Projects.Where(t => (string) t.["Custom_x005f_d062e23bf8b8e4119bcd00155dbc7202"] == "Planning Finished"));

Api (/sites/pwa/_api/ProjectServer/Projects('47592fcc-2bae-e411-82d7-5cc9d3ffa3e6')/IncludeCustomFields)

</d:Custom_x005f_1048aed8f0ade311a87d00155db0fd20><d:Custom_x005f_7985d87f5aade411b4b300155dbc4305 m:type="Edm.Decimal">0.000000</d:Custom_x005f_7985d87f5aade411b4b300155dbc4305><d:Custom_x005f_d062e23bf8b8e4119bcd00155dbc7202>Planning Finished</d:Custom_x005f_d062e23bf8b8e4119bcd00155dbc7202><d:Custom_x005f_7f2edcdcefade311bb7d00155db0fb1f m:type="Edm.Decimal">0.00000</d:Custom_x005f_7f2edcdcefade311bb7d00155db0fb1f><d:Custom_x005f_18d177c2f0ade31187cc00155d689b21 m:type="Edm.Decimal">0.00000</d:Custom_x005f_18d177c2f0ade31187cc00155d689b21><d:Custom_x005f_79a8d1f00e1ce4119a7200155dbc690b m:type="Edm.Decimal">120.00000</d:Custom_x005f_79a8d1f00e1ce4119a7200155dbc690b><d:Custom_x005f_dd5fd03c477be4118ee200155dc06e00 m:type="Edm.Decimal">0.00000</d:Custom_x005f_dd5fd03c477be4118ee200155dc06e00><d:Custom_x005f_7d899ebc487be411bbb700155dc07f00 m:type="Edm.Decimal">0.00000</d:Custom_x005f_7d899ebc487be411bbb700155dc07f00><d:Custom_x005f_53617ba80caee3118cef00155da0981e m:null="true" /><d:Custom_x005f_9c9916f36bb8e411ad3d00155dc03b01 m:type="Collection(Edm.String)"><d:element>Entry_965c7edf6bb8e411ad3d00155dc03b01</d:element></d:Custom_x005f_9c9916f36bb8e411ad3d00155dc03b01></m:properties></content></entry>

Viewing all articles
Browse latest Browse all 5347

Trending Articles



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