Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2C Commerce Developer Topic 15 Question 51 Discussion

Actual exam question for Salesforce's B2C Commerce Developer exam
Question #: 51
Topic #: 15
[All B2C Commerce Developer Questions]

A developer plans to use the /search_suggestion (Shop API) in a Storefront application and the following property must be set to do so

suggestion.product.image:view_type

What consideration should the developer in keep in mind to ensure that image data is returned correctly as part of search suggestions?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Deeanna
1 months ago
Haha, imagine if the developer just left the view_type blank and expected large images to magically appear. That's a recipe for some very confused users! Option A is definitely the way to go.
upvoted 0 times
Nada
14 days ago
User 3: Definitely, always better to have a clear plan in place for handling different scenarios.
upvoted 0 times
...
Elinore
25 days ago
User 2: Agreed, it's important to handle unknown view_types properly to avoid any confusion.
upvoted 0 times
...
Tatum
1 months ago
User 1: Haha, that would be a disaster! Option A is definitely the safest choice.
upvoted 0 times
...
...
Cristina
2 months ago
Ah, I see. So we need to make sure the view_type is set properly to get the image data in the search suggestions. Option A seems to be the most straightforward answer here.
upvoted 0 times
...
Nan
2 months ago
Hmm, the key point here seems to be that the view_type needs to be set correctly to ensure the image data is returned. I think option A is the right answer, as it clearly states that the image properties won't be part of the response if the view_type is not set or is unknown.
upvoted 0 times
Moon
2 days ago
It's important to make sure the view_type is set to avoid missing image properties.
upvoted 0 times
...
Malcom
8 days ago
Yes, setting the view_type is crucial for getting the image data.
upvoted 0 times
...
Ranee
20 days ago
I agree, option A is the correct choice.
upvoted 0 times
...
Nan
28 days ago
User1: Exactly, it's important to pay attention to those details.
upvoted 0 times
...
Julian
1 months ago
User3: So we need to make sure to set the view_type correctly for the image data to be returned.
upvoted 0 times
...
Andra
1 months ago
User2: Yeah, that makes sense. If the view_type is not set, the image properties won't be part of the response.
upvoted 0 times
...
Charlie
1 months ago
User1: I think option A is the right answer.
upvoted 0 times
...
...
Viola
2 months ago
That's a good point, Miles. Having a default size for the image would ensure consistency in the search suggestions. I see your rationale now.
upvoted 0 times
...
Miles
2 months ago
I disagree, I believe the answer is B) If the view_type is not set or if the view_type is unknown, the image size of 'small' is used by default. It makes more sense to have a default size.
upvoted 0 times
...
Viola
2 months ago
I think the correct answer is A) If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.
upvoted 0 times
...
Shayne
2 months ago
Hmm, that's an interesting point. I can see why that could be a valid answer as well.
upvoted 0 times
...
Cammy
2 months ago
I disagree, I believe the answer is B) If the view_type is not set or if the view_type is unknown, the image size of 'small' is used by default.
upvoted 0 times
...
Shayne
2 months ago
I think the correct answer is A) If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.
upvoted 0 times
...

Save Cancel