View Mode
Q: 2
An Adobe Commerce Developer has written an importer and exporter for a custom entity. The client is using this to modify the exported data and then re-importing the file to batch update the entities. There is a text attribute, which contains information related to imagery in JSON form, media_gallery. This is not a field that the client wants to change, but the software they are using to edit the exported data seems to be modifying it and not allowing it to import correctly. How would the developer prevent this? A) Specify a serializer class for the attribute using the $_transformAttrs class property array for both the exporter and importer so it gets converted: Adobe AD0 E716 question B) Strip the attribute from the imported file by adding it to the s_strippedAttrs class property array: Adobe AD0 E716 question C) Prevent it from being exported by adding it to the $_disat>iedAttrs class property array: Adobe AD0 E716 question
Options
Question 2 of 15

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE