Knowledge Graph Module 5 Assessment - Validation for Custom Field Types

In attempting to complete the Knowledge Graph Module 5 Assessment, I am having some difficulty setting the instructed validation rule for the custom field “Restaurant Promotions” of the newly created custom field type “Promotions”.

The directions say to add a “Max 3 entries” validation rule, however, I cannot seem to add any validation rules for custom fields or field types. I can add validation rules for the sub field labels within the custom field type, but these are not inherited by the parent field type. In fact, in selecting the custom field type for the new custom field, the “field settings” options are removed from the screen entirely, and the default validation rule for field specification “List of Struct” (Item count: Any to 5000) is populated automatically. I have attached a screen shot for reference. I would include more, but I’m limited to one for now.

I’m hoping there’s something I’m missing :sweat_smile:

Hi Michael,

Looks like this is a bug and we’ve escalated it to our engineering team. I’ll follow up here when it gets resolved. In the meantime, I’ve extended your challenge expiration to the end of the month, and can extend it further if needed.

Thanks for raising the issue!
Kristy

Hi Michael,

This is fixed now. You’ll be able to add a max list count under the Field Settings. Let us know if you have any other issues!

Hi Kristy— just checked out the demo instance/resubmitted— everything works perfectly, thank you!!

Best,
Michael

Hi, I have the same problem. I cannot put 3 max items.

Hi Liridona,

Try adding 2 new field sections for Community Story:

  1. Contacts & Affiliations

  2. CTAs, Promotions & Events

Best,
Adam

Hi Adam,

Can you help me complete the topics I could not?

Attached you can find the pic.

Thanks in advance.

Hi,
I created the theme custom field but I don’t know why I cannot submit.

Hi Liridona,

Try deleting the Max value within Field Settings → Validation - List → Min/Max

Hi Adam,
Thank you for your response.
I am trying to delete but whe I saved it appeared the same. I tried to put max to 0 but did not work too.

Hi Liridona,

Would you mind moving the field categories _goal and _primaryCTA to the Core Information section of the fields? Let’s see if that will work here.

Hi Adam,
It is not working.


Hi @Liridona_Emini,

Taking a look at your account, you’ll want to edit the Theme field so that each option is in a separate text box. Since it’s currently all in one textbox, when you go to fill out the field on entities, there will only be one option to choose from. In the screenshot below, click the +Add an option button. Make sure you have seven options and then fill in each one with an option provided.

Hi Kristy,

Now it worked.

Thanks a lot!
Liridona

Hi Kristy,

Can you pleace tell me what I did wrong in this challange, cause I am putting the description as it is and it is not working.

Attached you can find the pics.

Best wishes!

Liridona

Hi @Liridona_Emini,

The challenge instructions say to add the new sentence at the end of the existing description, rather than replacing the description. The updated description should look like (also notice the lack of quotes at the beginning and end of the description):

Hungry for Tacos? Fan of "Chips & Guac"? Turtlehead Tacos is the destination for you. With locations globally, we pride ourselves in providing our customers with the most delicious, fresh tacos daily. Visit us in [[address.city]], [[address.region]] today!

Let us know if that works for you!

Hi Kristy,

No, unfortunately is not working neither way.

I tried both ways, with and without quotes.

Liridona

Hi @Liridona_Emini,

Apologies, when I copy/pasted the description above, the quotes around “Chips and Guac” were transformed into curly “smart quotes”. The grading system is looking for straight quotes " ". I’ve changed the description above to use code snippet format, so when you copy/paste the above, it should use the right quotes. You can also delete and retype the quotes in the platform when you bulk edit the entities. Note that the first two sentences were part of the entity descriptions when you started the challenge, so copy/pasting usually isn’t required for this challenge.

Also be sure to not include the quotes at the beginning and end of the description.

I just tested it for myself and was able to get this to work in my challenge account.

Hi Kristy,

Thanks for the email. It worked as you told me.

I am having troubles with module 14 assessment.

I tried new date for winter holiday to schedule but did not work in that way.

Attached you can find a scr.

Liridona