SAP P_C4H34_2411 Exam - Topic 7 Question 2 Discussion
You need to create a new custom promotion based on customer reviews for a product. You createa customPromotion extension with a new Rule Aware Object to keep customer reviews. In whichfile will you define this new Rule Aware Object?
C) In the customPromotion-beans.xml file
A) In the customPromotion-backoffice-config.xml file
B) In the customPromotion-spring.xml file
D) In the customPromotion-items.xml file
SAP P_C4H34_2411 Exam - Topic 7 Question 2 Discussion
I'm feeling confident about this one. The Rule Aware Object for the customer reviews would be defined in the customPromotion-backoffice-config.xml file, as that's the standard location for defining custom objects in the Hybris platform.
Based on my understanding, the Rule Aware Object should be defined in the customPromotion-items.xml file, since that's where we define our custom data models.
I'm a bit confused on this one. I'm not sure if the Rule Aware Object would be defined in the customPromotion-spring.xml file or the customPromotion-beans.xml file. I'll need to double-check the documentation.
Okay, let me see... I'm pretty sure it would be defined in the customPromotion-backoffice-config.xml file, since that's where we usually define our custom objects.
Hey, I've got a great idea! Why don't we just put the Rule Aware Object in all the files? Then we'll be sure to get it right! *chuckles* Just kidding, of course. But it would be a surefire way to pass the exam, right?
I'm going with C. The customPromotion-beans.xml file is the place to define our custom beans, and the Rule Aware Object is definitely a custom bean, so that's where it should go.
B is the way to go! The customPromotion-spring.xml file is where we configure our Spring-based components, including the Rule Aware Object. It just makes sense to put it there.
Hmm, I'm not sure about that. Wouldn't it make more sense to define the Rule Aware Object in the customPromotion-spring.xml file? That's where we usually define our Spring beans, right?
I think the answer is D. The new Rule Aware Object should be defined in the customPromotion-items.xml file. That's where we define the data model for our custom objects.
Ming
10 months agoErick
10 months agoWilda
10 months agoLettie
11 months agoElfrieda
11 months agoBrent
11 months agoMargret
11 months agoBecky
11 months agoCruz
11 months agoTony
11 months agoSimona
11 months agoKayleigh
11 months agoDevora
11 months agoFlorinda
12 months agoIlona
2 years agoCristen
2 years agoIraida
2 years agoDustin
2 years agoSvetlana
2 years agoFranchesca
2 years agoTeddy
2 years agoAlease
2 years agoMarshall
2 years agoTwana
2 years agoAnnamae
2 years agoTheron
2 years agoLawana
2 years agoDenae
2 years agoLawana
2 years agoReed
2 years agoAudria
2 years agoCatarina
2 years agoMichel
2 years ago