http://m.getsatisfaction.com/topics/7777229 skuid.sfdc.search stopped working in version 11.2.7 2018-10-15T11:49:09Z 2018-08-13T05:38:20Z 7777229 http://m.getsatisfaction.com/topics/7777229 7777229 skuid.sfdc.search stopped working in version 11.2.7 2018-10-15T11:49:09Z 2018-08-13T05:38:20Z Gyan http://m.getsatisfaction.com/people/6764382 https://d2r1vs3d9006ap.cloudfront.net/public/uploaded_images/11185022/gyan_medium.jpg jnanendra_pande skuid.sfdc.search seems to be broken in skuid version 11.2.7. The following code from skuid documentation (<a alt="" href="https://docs.skuid.com/latest/en/skuid/api/skuid_sfdc.html#skuid.service.search" name="" rel="nofollow" target="" title="Link httpsdocsskuidcomlatestenskuidapiskuid_sfdchtmlskuidservicesearch" type="" value="">https://docs.skuid.com/latest/en/skuid/api/skuid_sfdc.html#skuid.service.search</a>) does not seem to work anymore.<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><pre alt="" name="" rel="" target="" title="" type="" value="">var $ = skuid&#46;$;<br alt="" name="" rel="" target="" title="" type="" value="" /><pre alt="" name="" rel="" target="" title="" type="" value="">var queryText = 'skuid';<br alt="" name="" rel="" target="" title="" type="" value="" />&#47;&#47; Perform our SOSL Search<br alt="" name="" rel="" target="" title="" type="" value="" />$&#46;when(skuid&#46;sfdc&#46;search({<br alt="" name="" rel="" target="" title="" type="" value="" /> query: queryText,<br alt="" name="" rel="" target="" title="" type="" value="" /> searching: "ALL FIELDS",<br alt="" name="" rel="" target="" title="" type="" value="" /> returning: [<br alt="" name="" rel="" target="" title="" type="" value="" /> { "objectName": "Account", "fields": ["Name","CreatedDate"] },<br alt="" name="" rel="" target="" title="" type="" value="" /> { "objectName": "Contact", "fields": ["FirstName","LastName","CreatedDate"] }<br alt="" name="" rel="" target="" title="" type="" value="" /> ]<br alt="" name="" rel="" target="" title="" type="" value="" />}))&#46;done(function(searchResult){<br alt="" name="" rel="" target="" title="" type="" value="" /> $&#46;each(searchResult&#46;results,function(i,sobjectResult){<br alt="" name="" rel="" target="" title="" type="" value="" /> var objectName = sobjectResult&#46;objectName;<br alt="" name="" rel="" target="" title="" type="" value="" /> var records = sobjectResult&#46;records;<br alt="" name="" rel="" target="" title="" type="" value="" /> console&#46;log('* Found ' + records&#46;length + ' ' + objectName + ' records');<br alt="" name="" rel="" target="" title="" type="" value="" /> $&#46;each(records,function(j,record){<br alt="" name="" rel="" target="" title="" type="" value="" /> if (objectName==='Contact') {<br alt="" name="" rel="" target="" title="" type="" value="" /> console&#46;log('Found Contact: ' + record&#46;FirstName + ' ' + record&#46;LastName);<br alt="" name="" rel="" target="" title="" type="" value="" /> }<br alt="" name="" rel="" target="" title="" type="" value="" /> else console&#46;log('Found Account: ' + record&#46;Name);<br alt="" name="" rel="" target="" title="" type="" value="" /> });<br alt="" name="" rel="" target="" title="" type="" value="" /> });<br alt="" name="" rel="" target="" title="" type="" value="" />})&#46;fail(function(searchResult){<br alt="" name="" rel="" target="" title="" type="" value="" /> console&#46;error('Search failed: ' + searchResult&#46;error);<br alt="" name="" rel="" target="" title="" type="" value="" />})&#46;always(function(searchResult){<br alt="" name="" rel="" target="" title="" type="" value="" /> console&#46;log('Raw SOSL generated: ' + searchResult&#46;sosl);<br alt="" name="" rel="" target="" title="" type="" value="" /> console&#46;log('Original search request');<br alt="" name="" rel="" target="" title="" type="" value="" /> console&#46;log(searchResult&#46;request);&nbsp;<br alt="" name="" rel="" target="" title="" type="" value="" />});</pre></pre><br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />Looks like something's changed. Could someone please advise?<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />Thank you.<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /> problem dev_team_review dev_team_review, support_team_review active 5 5 1 comment http://m.getsatisfaction.com/topics/7777229/replies/19694412 http://m.getsatisfaction.com/topics/7777229 19694412 Gyan responded to "skuid.sfdc.search stopped working in version 11.2.7" 2018-08-14T03:45:05Z 2018-08-14T03:45:05Z Gyan http://m.getsatisfaction.com/people/6764382 https://d2r1vs3d9006ap.cloudfront.net/public/uploaded_images/11185022/gyan_medium.jpg jnanendra_pande Any update on this please? 0 http://m.getsatisfaction.com/topics/7777229/replies/19696192 http://m.getsatisfaction.com/topics/7777229 19696192 Stephen Sells responded to "skuid.sfdc.search stopped working in version 11.2.7" 2018-08-14T20:53:14Z 2018-08-14T20:53:14Z Stephen Sells http://m.getsatisfaction.com/people/8751192 https://d2r1vs3d9006ap.cloudfront.net/public/uploaded_images/11016918/CommunitySquare_medium.jpeg stephen_sells When I run the snippet from the documentation, I see this:<br /><img src="https://d2r1vs3d9006ap.cloudfront.net/s3_images/1746217/16167-btij2t_inline.jpeg?1534279969" /><br />Is this what you see?<br /><br />Where specifically do you think this should be different? 0 http://m.getsatisfaction.com/topics/7777229/replies/19696401 http://m.getsatisfaction.com/topics/7777229 19696401 Gyan responded to "skuid.sfdc.search stopped working in version 11.2.7" 2018-08-14T22:48:23Z 2018-08-14T22:48:23Z Gyan http://m.getsatisfaction.com/people/6764382 https://d2r1vs3d9006ap.cloudfront.net/public/uploaded_images/11185022/gyan_medium.jpg jnanendra_pande Hi Stephen,&nbsp;<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />Please see the screenshot (from skuid version 11.1.11)<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><img alt="" name="" rel="" src="https://d2r1vs3d9006ap.cloudfront.net/s3_images/1746228/RackMultipart20180814-110429-1u2qxsr-skuidsearch_inline.png?1534286847" target="" title="Image httpsd2r1vs3d9006apcloudfrontnets3_images1746228RackMultipart20180814-110429-1u2qxsr-skuidsearch_inlinepng1534286847" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /> 0 http://m.getsatisfaction.com/topics/7777229/replies/19799099 http://m.getsatisfaction.com/topics/7777229 19799099 jili@heidrick.com responded to "skuid.sfdc.search stopped working in version 11.2.7" 2018-10-11T13:35:11Z 2018-10-11T13:35:11Z jili@heidrick.com http://m.getsatisfaction.com/people/8618418 https://www.gravatar.com/avatar/301bcacf09531d5d7caad04f48af500a?d=identicon&s=55&r=PG jili_heidrickcom Hi did you find a solution around this? We are facing the same issue with 11.2.9. 0 http://m.getsatisfaction.com/topics/7777229/replies/19804611 http://m.getsatisfaction.com/topics/7777229 19804611 Bill McCullough responded to "skuid.sfdc.search stopped working in version 11.2.7" 2018-10-15T11:49:09Z 2018-10-15T11:49:09Z Bill McCullough http://m.getsatisfaction.com/people/6620098 https://d2r1vs3d9006ap.cloudfront.net/public/uploaded_images/10784891/BillUpdated250px_medium.png bill_mccullough Skuid,<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />I tried reproducing this in my developer org.&nbsp; I think there is a problem.<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />I used the code that Gyan referenced and added a console log of the searchResult object.&nbsp; I also modified the searchText with a name that is in my developer org.&nbsp; Here is the console.log that I added to the 'always' function:<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" /><span class="_wysihtml5-temp-placeholder"></span>.always(function(searchResult){<br alt="" name="" rel="" target="" title="" type="" value="" />&nbsp;&nbsp; console.log('Raw SOSL generated: ' + searchResult.sosl);<br alt="" name="" rel="" target="" title="" type="" value="" />&nbsp;&nbsp;&nbsp; console.log('Original search request');<br alt="" name="" rel="" target="" title="" type="" value="" />&nbsp;&nbsp;&nbsp; console.log(searchResult.request);<br alt="" name="" rel="" target="" title="" type="" value="" />&nbsp;&nbsp;&nbsp; <b alt="" name="" rel="" target="" title="" type="" value="">console.log(searchResult);</b><br alt="" name="" rel="" target="" title="" type="" value="" />});<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />When I expand the searchResult object, I see this error:<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />{sosl: null, results: null, error: "Expected Map&lt;String,skuid.SearchRequest.ObjectRequest&gt; but found [line:1, column:41]", request: {...}}<br alt="" name="" rel="" target="" title="" type="" value="" />error: "Expected Map&lt;String,skuid.SearchRequest.ObjectRequest&gt; but found [line:1, column:41]"<br alt="" name="" rel="" target="" title="" type="" value="" />request: {query: "levy", searching: "ALL FIELDS", returning: Array(2), dataSource: E}<br alt="" name="" rel="" target="" title="" type="" value="" />results: null<br alt="" name="" rel="" target="" title="" type="" value="" />sosl: null<br alt="" name="" rel="" target="" title="" type="" value="" />__proto__: Object<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />I am using Skuid 11.2.10.<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />Thanks,<br alt="" name="" rel="" target="" title="" type="" value="" /><br alt="" name="" rel="" target="" title="" type="" value="" />Bill<br alt="" name="" rel="" target="" title="" type="" value="" /> 0