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 18 Question 60 Discussion

Actual exam question for Salesforce's B2C-Commerce-Developer exam
Question #: 60
Topic #: 18
[All B2C-Commerce-Developer Questions]

Which is an appropriate use of the ISML tag that follows B2C Commerce and SFRA best practices?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Alline
2 months ago
I see your point, Viola. It could also be a valid use case to improve user experience.
upvoted 0 times
...
Viola
2 months ago
But wouldn't redirecting users to the registration page if they are not logged in also be a good use of the ISML tag?
upvoted 0 times
...
Earleen
2 months ago
I agree with Alline, it's important to show relevant content only to logged in users.
upvoted 0 times
...
Alline
3 months ago
I think A) Display a section of the page to logged users only is the best practice.
upvoted 0 times
...
Ozell
3 months ago
Logged users only, huh? Sounds like a job for the ISIF tag! Though I can't help but wonder if that's the only way to skin this particular cat. Might be time to bust out the trusty ISML manual and see what other tricks are up its sleeve.
upvoted 0 times
...
Aron
3 months ago
Option C gets my vote. Redirecting unregistered users is a classic move and totally fits the brief. Though I do wonder if there's a more elegant solution that doesn't involve a hard redirect. Anyone got any spicy takes on that?
upvoted 0 times
Pa
2 months ago
C) Redirect users to the registration page if they are not logged in
upvoted 0 times
...
Lyla
2 months ago
B) Implement involved business logs through conditional statements.
upvoted 0 times
...
Eleni
3 months ago
A) Display a section of the page to logged users only
upvoted 0 times
...
...
Lennie
3 months ago
Ah, the age-old dilemma of user access control. Option A sounds straightforward enough, but I'd be curious to hear if there are any gotchas to watch out for. Anyone have any insights?
upvoted 0 times
Jody
2 months ago
Just make sure to test it thoroughly before deploying to avoid any issues.
upvoted 0 times
...
Cammy
3 months ago
I agree, it's a common practice to use ISML tags for user access control.
upvoted 0 times
...
Marvel
3 months ago
Option A is a good choice for showing content to logged-in users only.
upvoted 0 times
...
...
Sherman
3 months ago
I see your point, India. It could help guide users to register and increase engagement.
upvoted 0 times
...
Christene
3 months ago
Hmm, option B seems a bit overkill. Business logic is better handled outside of the ISML code, don't you think? But I could be wrong, let's see what the others say.
upvoted 0 times
Lili
2 months ago
I agree, keeping business logic out of ISML code is a good practice.
upvoted 0 times
...
Paola
2 months ago
C) Redirect users to the registration page if they are not logged in
upvoted 0 times
...
Tomoko
3 months ago
A) Display a section of the page to logged users only
upvoted 0 times
...
Lawana
3 months ago
C) Redirect users to the registration page if they are not logged in
upvoted 0 times
...
Thomasena
3 months ago
A) Display a section of the page to logged users only
upvoted 0 times
...
...
India
4 months ago
But wouldn't option C) Redirect users to the registration page if they are not logged in also be a good use of the ISML tag?
upvoted 0 times
...
Malika
4 months ago
I think option C is the way to go. It's a great way to ensure users are logged in before accessing certain pages. Keeps everything secure and in line with best practices.
upvoted 0 times
Ashton
2 months ago
Redirecting users to the registration page is a good way to control access.
upvoted 0 times
...
Ashton
2 months ago
Agreed, it's important to prioritize security.
upvoted 0 times
...
Lashawnda
3 months ago
None
upvoted 0 times
...
Norah
3 months ago
None
upvoted 0 times
...
Ashton
4 months ago
Option C is definitely the best choice here.
upvoted 0 times
...
...
Lashawn
4 months ago
I agree with Sherman. It's important to show different content to logged in users for a personalized experience.
upvoted 0 times
...
Sherman
4 months ago
I think option A) Display a section of the page to logged users only is a good use of the ISML tag.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77