{"id":17,"date":"2013-07-30T11:52:00","date_gmt":"2013-07-30T06:22:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=17"},"modified":"2013-07-30T11:52:00","modified_gmt":"2013-07-30T06:22:00","slug":"how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/","title":{"rendered":"How to pass Object or collection of Objects to a web resource in CRM 2011"},"content":{"rendered":"<div dir=\"ltr\" trbidi=\"on\"><!--[if !mso]>\n\n<style>v\\:* {behavior:url(#default#VML);} o\\:* {behavior:url(#default#VML);} w\\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} <\/style>\n\n<![endif]--><br \/><!--[if gte mso 9]><xml> <w:WordDocument>  <w:View>Normal<\/w:View>  <w:Zoom>0<\/w:Zoom>  <w:TrackMoves\/>  <w:TrackFormatting\/>  <w:PunctuationKerning\/>  <w:ValidateAgainstSchemas\/>  <w:SaveIfXMLInvalid>false<\/w:SaveIfXMLInvalid>  <w:IgnoreMixedContent>false<\/w:IgnoreMixedContent>  <w:AlwaysShowPlaceholderText>false<\/w:AlwaysShowPlaceholderText>  <w:DoNotPromoteQF\/>  <w:LidThemeOther>EN-US<\/w:LidThemeOther>  <w:LidThemeAsian>X-NONE<\/w:LidThemeAsian>  <w:LidThemeComplexScript>X-NONE<\/w:LidThemeComplexScript>  <w:Compatibility>   <w:BreakWrappedTables\/>   <w:SnapToGridInCell\/>   <w:WrapTextWithPunct\/>   <w:UseAsianBreakRules\/>   <w:DontGrowAutofit\/>   <w:SplitPgBreakAndParaMark\/>   <w:DontVertAlignCellWithSp\/>   <w:DontBreakConstrainedForcedTables\/>   <w:DontVertAlignInTxbx\/>   <w:Word11KerningPairs\/>   <w:CachedColBalance\/>  <\/w:Compatibility>  <w:BrowserLevel>MicrosoftInternetExplorer4<\/w:BrowserLevel>  <m:mathPr>   <m:mathFont m:val=\"Cambria Math\"\/>   <m:brkBin m:val=\"before\"\/>   <m:brkBinSub m:val=\"--\"\/>   <m:smallFrac m:val=\"off\"\/>   <m:dispDef\/>   <m:lMargin m:val=\"0\"\/>   <m:rMargin m:val=\"0\"\/>   <m:defJc m:val=\"centerGroup\"\/>   <m:wrapIndent m:val=\"1440\"\/>   <m:intLim m:val=\"subSup\"\/>   <m:naryLim m:val=\"undOvr\"\/>  <\/m:mathPr><\/w:WordDocument><\/xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState=\"false\" DefUnhideWhenUsed=\"true\"   DefSemiHidden=\"true\" DefQFormat=\"false\" DefPriority=\"99\"   LatentStyleCount=\"267\">  <w:LsdException Locked=\"false\" Priority=\"0\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Normal\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"heading 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 7\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 8\"\/>  <w:LsdException Locked=\"false\" Priority=\"9\" QFormat=\"true\" Name=\"heading 9\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 7\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 8\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" Name=\"toc 9\"\/>  <w:LsdException Locked=\"false\" Priority=\"35\" QFormat=\"true\" Name=\"caption\"\/>  <w:LsdException Locked=\"false\" Priority=\"10\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Title\"\/>  <w:LsdException Locked=\"false\" Priority=\"1\" Name=\"Default Paragraph Font\"\/>  <w:LsdException Locked=\"false\" Priority=\"11\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtitle\"\/>  <w:LsdException Locked=\"false\" Priority=\"22\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Strong\"\/>  <w:LsdException Locked=\"false\" Priority=\"20\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Emphasis\"\/>  <w:LsdException Locked=\"false\" Priority=\"59\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Table Grid\"\/>  <w:LsdException Locked=\"false\" UnhideWhenUsed=\"false\" Name=\"Placeholder Text\"\/>  <w:LsdException Locked=\"false\" Priority=\"1\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"No Spacing\"\/>  <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading\"\/>  <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List\"\/>  <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid\"\/>  <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List\"\/>  <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading\"\/>  <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List\"\/>  <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid\"\/>  <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 1\"\/>  <w:LsdException Locked=\"false\" UnhideWhenUsed=\"false\" Name=\"Revision\"\/>  <w:LsdException Locked=\"false\" Priority=\"34\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"List Paragraph\"\/>  <w:LsdException Locked=\"false\" Priority=\"29\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Quote\"\/>  <w:LsdException Locked=\"false\" Priority=\"30\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Quote\"\/>  <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 1\"\/>  <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 2\"\/>  <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 3\"\/>  <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 4\"\/>  <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 5\"\/>  <w:LsdException Locked=\"false\" Priority=\"60\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Shading Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"61\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light List Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"62\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Light Grid Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"63\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 1 Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"64\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Shading 2 Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"65\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 1 Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"66\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium List 2 Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"67\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 1 Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"68\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 2 Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"69\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Medium Grid 3 Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"70\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Dark List Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"71\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Shading Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"72\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful List Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"73\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" Name=\"Colorful Grid Accent 6\"\/>  <w:LsdException Locked=\"false\" Priority=\"19\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtle Emphasis\"\/>  <w:LsdException Locked=\"false\" Priority=\"21\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Emphasis\"\/>  <w:LsdException Locked=\"false\" Priority=\"31\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Subtle Reference\"\/>  <w:LsdException Locked=\"false\" Priority=\"32\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Intense Reference\"\/>  <w:LsdException Locked=\"false\" Priority=\"33\" SemiHidden=\"false\"    UnhideWhenUsed=\"false\" QFormat=\"true\" Name=\"Book Title\"\/>  <w:LsdException Locked=\"false\" Priority=\"37\" Name=\"Bibliography\"\/>  <w:LsdException Locked=\"false\" Priority=\"39\" QFormat=\"true\" Name=\"TOC Heading\"\/> <\/w:LatentStyles><\/xml><![endif]--><!--[if gte mso 10]>\n\n<style> \/* Style Definitions *\/  table.MsoNormalTable  {mso-style-name:\"Table Normal\";  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:\"\";  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:\"Times New Roman\",\"serif\";} <\/style>\n\n<![endif]--><span><span><span>In Dynamics CRM if we want to pass data to a web resource, then we use <b>Xrm.Utility.openWebResource<\/b>function and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter.<\/span><\/span><\/span><br \/><span><span><span>\u00a0<\/span><\/span><\/span> <\/p>\n<div><span><span><span>So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in string format. This converted data can be used to pass data to web resource. Let us take an example of passing collection of object to web resource. Here I have used collection of array that contains Id, Description and Name of Record.\u00a0<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>\u00a0\u00a0 <\/span><span>var<\/span> arrayObject = <span>new<\/span> Array();<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0] = <span>new<\/span> Object();<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].name = <span>&#8220;Sample Record 1&#8221;<\/span>;<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].id = <span>\u201c1.&#8221;<\/span>;<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].decription = <span>&#8220;Test Description &#8220;<\/span>;<\/span><\/span><\/div>\n<div><\/div>\n<div><\/div>\n<div><span><span><span>Then after defining collection of object we will pass that object to <b>JSON.stringify<\/b>. This function will return collection in JSON String format. Then this JSON string is encoded to get parameter that is going to passed to the web resource.<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>var<\/span>customParameters = encodeURIComponent(JSON.stringify(arrayObject));<\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>This encoded JSON string can be passed to web resource using below code:\u00a0<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span>Xrm.Utility.openWebResource(<span>&#8220;new_\/Records.html&#8221;<\/span>, customParameters);<\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>Here \u201cRecords.html\u201d is used for displaying this collection of object on HTML page. In web resource \u201cRecords.html\u201d, passed parameter can be collected as follows:<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>var<\/span>queryParam = Xrm.Page.context.getQueryStringParameters();<\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>The collected parameter is in JSON string format so we have to convert array using <b>JSON.parse<\/b>to convert it into collection of object.<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>if<\/span>(queryParam.Data) {<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 \u00a0 arrayObject = JSON.parse(queryParam.Data);<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<\/span><\/span><\/div>\n<div><\/div>\n<div><\/div>\n<div><span><span><span>In this way we can pass collection of object as parameter to web resource. Similarly we can do for object as well.\u00a0<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>We have used above code for passing some data to HTML web resource Records.html. This web resource takes collection of objects. And then show in table format as you can see in below screen shot.<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><\/div>\n<div><span><span><a href=\"http:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg\" imageanchor=\"1\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg\"><\/a><\/span><\/span><\/div>\n<div><\/div>\n<div><\/div>\n<div><span><span><span><\/span><\/span><\/span><\/div>\n<div><span><span><span>But when we pass parameter to web resource it is passed as query string. Query string has limitation based on browsers used. So when we pass parameter to web resource it trims\/neglects extra characters from the query string. So it will cause problem while converting JSON string object into Object. And this problem of query string limitation can be solved using <b>window.opener<\/b>.\u00a0<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>The opener property returns a reference to the window that created the window. When opening a window with window.open(), you can use this property from the destination window to return details of the source (parent) window. By using window.opener we can access global parameters defined in parent web resource. In this way we can access Objects or collection without any limitations.<\/span><\/span><\/span><\/div>\n<div><span><span><span>Let us take same example of passing collection of object to web resource. We will take collection of object defined as follows.<\/span><span>\u00a0<\/span><\/span><\/span><\/p>\n<p><span><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 var<\/span>_arrayObject = <span>new<\/span> Array();<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0] = <span>new<\/span> Object();<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].name = <span>&#8220;Record 1&#8221;<\/span>;<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].id = <span>&#8220;1.&#8221;<\/span>;<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].decription = <span>&#8220;Test Description&#8221;<\/span>;<\/span><\/span><br \/><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 arrayObject[0] = <span>new<\/span> Object();<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].name = <span>&#8220;Record 2&#8221;<\/span>;<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].id = <span>&#8220;2.&#8221;<\/span>;<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 arrayObject[0].decription = <span>&#8220;Test Description&#8221;<\/span>;<\/span><\/span><\/div>\n<div><\/div>\n<div><\/div>\n<div><span><span><span>Then we open web resource i.e. Records.html using Xrm.Utility.openWebResource.<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span>Xrm.Utility.openWebResource(<span>&#8220;new_\/<\/span><span>Records<\/span><span>.html&#8221;<\/span>);<span><\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>In web resource, passed data can be collected as follows:<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>if<\/span>(window.opener._arrayObject != <span>null<\/span>) {<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 var\u00a0 _arrayObject = window.opener._arrayObject<\/span><\/span><\/div>\n<div><span><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<\/span><\/span><\/div>\n<div><\/div>\n<div><span><span><span>By using above we can pass large amount of data to HTML web resource.<\/span><\/span><\/span><\/div>\n<div><span><span><span>I have used the windows.opener to collect the data from _arrayObject global object. This collection is converted into HTML table format. I have used this code for displaying selected records into grid.<\/span><\/span><\/span><\/div>\n<div><\/div>\n<div><\/div>\n<div><span><span><a href=\"http:\/\/1.bp.blogspot.com\/-pDoNUUbrKiA\/Ufem6EeBs-I\/AAAAAAAACBw\/2IyaeWYuLpc\/s1600\/2.jpg\" imageanchor=\"1\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/1.bp.blogspot.com\/-pDoNUUbrKiA\/Ufem6EeBs-I\/AAAAAAAACBw\/2IyaeWYuLpc\/s1600\/2.jpg\"><\/a><\/span><\/span><\/div>\n<div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter.\u00a0 So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/\">Read More: How to pass Object or collection of Objects to a\u2026 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,20,21,22,24,66],"tags":[895,1260,1302,1829],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","category-dynamics-crm-2011","category-dynamics-crm-2013","category-dynamics-crm-2015","category-dynamics-crm-2016","category-web-resources-2","tag-html","tag-objects","tag-pass-objects-to-web-resource","tag-web-resource"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-07-30T06:22:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-07-30T06:22:00+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"http:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#blogposting\",\"name\":\"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"How to pass Object or collection of Objects to a web resource in CRM 2011\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/3.bp.blogspot.com\\\/-mYHyUMP-V7g\\\/UfemtZMeANI\\\/AAAAAAAACBo\\\/T38gQTRnFo8\\\/s1600\\\/try+to+save+n+it+gives+me+bug.jpg\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#articleImage\"},\"datePublished\":\"2013-07-30T11:52:00+05:30\",\"dateModified\":\"2013-07-30T11:52:00+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#webpage\"},\"articleSection\":\"Dynamics CRM, Dynamics CRM 2011, Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016, Web Resources, HTML, objects, pass objects to web resource, web resource\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"position\":2,\"name\":\"Dynamics CRM\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2011\\\/#listItem\",\"name\":\"Dynamics CRM 2011\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2011\\\/#listItem\",\"position\":3,\"name\":\"Dynamics CRM 2011\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2011\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#listItem\",\"name\":\"How to pass Object or collection of Objects to a web resource in CRM 2011\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#listItem\",\"position\":4,\"name\":\"How to pass Object or collection of Objects to a web resource in CRM 2011\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2011\\\/#listItem\",\"name\":\"Dynamics CRM 2011\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/\",\"name\":\"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2013\\\/07\\\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2013-07-30T11:52:00+05:30\",\"dateModified\":\"2013-07-30T11:52:00+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in","canonical_url":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#blogposting","name":"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"How to pass Object or collection of Objects to a web resource in CRM 2011","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#articleImage"},"datePublished":"2013-07-30T11:52:00+05:30","dateModified":"2013-07-30T11:52:00+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#webpage"},"articleSection":"Dynamics CRM, Dynamics CRM 2011, Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016, Web Resources, HTML, objects, pass objects to web resource, web resource"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","position":2,"name":"Dynamics CRM","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2011\/#listItem","name":"Dynamics CRM 2011"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2011\/#listItem","position":3,"name":"Dynamics CRM 2011","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2011\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#listItem","name":"How to pass Object or collection of Objects to a web resource in CRM 2011"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#listItem","position":4,"name":"How to pass Object or collection of Objects to a web resource in CRM 2011","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2011\/#listItem","name":"Dynamics CRM 2011"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/","name":"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2013-07-30T11:52:00+05:30","dateModified":"2013-07-30T11:52:00+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in","og:url":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/","og:image":"https:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg","og:image:secure_url":"https:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg","article:published_time":"2013-07-30T06:22:00+00:00","article:modified_time":"2013-07-30T06:22:00+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"How to pass Object or collection of Objects to a web resource in CRM 2011 - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"In Dynamics CRM if we want to pass data to a web resource, then we use Xrm.Utility.openWebResourcefunction and pass as second parameter. But in this case we can\u2019t pass Object or Array as parameter. So to solve this problem one can use JSON. Using JSON we can convert Object or Collection of Object (Array) in","twitter:creator":"@inogic","twitter:image":"http:\/\/3.bp.blogspot.com\/-mYHyUMP-V7g\/UfemtZMeANI\/AAAAAAAACBo\/T38gQTRnFo8\/s1600\/try+to+save+n+it+gives+me+bug.jpg","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"3 minutes"},"aioseo_meta_data":{"post_id":"17","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 06:03:49","updated":"2025-07-03 22:30:03","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/\" title=\"Dynamics CRM\">Dynamics CRM<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2011\/\" title=\"Dynamics CRM 2011\">Dynamics CRM 2011<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to pass Object or collection of Objects to a web resource in CRM 2011\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics CRM","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/"},{"label":"Dynamics CRM 2011","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2011\/"},{"label":"How to pass Object or collection of Objects to a web resource in CRM 2011","link":"https:\/\/www.inogic.com\/blog\/2013\/07\/how-to-pass-object-or-collection-of-objects-to-a-web-resource-in-crm-2011\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}