Search Result Layout

Gets the search result layout for up to 100 objects with a single query.

Parameters 

  • API version (string, optional)
  • Object list (list of strings)

iOS 

Swift

For the object list, set forSearchResultLayout to a string of comma-separated object names.

1RestClient.shared.request(forSearchResultLayout:apiVersion:)
Objective-C

1- (SFRestRequest *)
2      requestForSearchResultLayout:(NSString*)objectList
3                        apiVersion:(nullable NSString *)apiVersion;

Android 

Kotlin

1@Throws(UnsupportedEncodingException::class)
2fun getRequestForSearchResultLayout(apiVersion: String?,
3    objectList: List<String>): RestRequest
Java

1public static RestRequest getRequestForSearchResultLayout(String apiVersion, List<String> objectList) throws UnsupportedEncodingException

See Also 

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.