Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

5) Apply the following code to the postgrad-apply (see ##380708) block / atAGlance (see #720362) block in place of current JSON object. Copy the code to retain indents / structure from the relevant asset, or JSONLint it:

{
"contentType" : "postgrad-apply",
"content" : {
"startStudying" : {
"type" : "keyDatesSet",
"heading" : "Start Studying",
"appendix" : "",
"keyDatesSet" : [ %asset_parent^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents^replace_keywords:empty:{asset_parent^as_asset:asset_metadata_parentProgramme^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents}% {}]
},
"fees" : {
"contentType" : "fees",
"heading" : "",
"content" : ""
}
}
}

or

{
"contentType" :"atAGlance",
"references" :["qualifications"],
"qualificationDefault":[{
"asset_assetid" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_assetid^json_encode%",
"name" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_name^json_encode%",
"major_code" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_MajorCode^json_encode%",
"asset_short_name" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_short_name^json_encode%",
"asset_metadata_WebPath" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_WebPath^json_encode%",
"asset_metadata_courses" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_courses^json_encode%",
"asset_metadata_points" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_points^json_encode%",
"asset_metadata_location" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_location^json_encode%",
"asset_metadata_requiredContact" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_requiredContact^json_encode%",
"asset_metadata_composition" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_composition^json_encode%",
"asset_metadata_applicationsDue" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_applicationsDue^json_encode%",
"asset_metadata_applicationsDueCustom" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_applicationsDueCustom^json_encode%",
"asset_metadata_startingTrimester" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_startingTrimester^json_encode%",
"asset_metadata_summaryEntryRequirements" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_summaryEntryRequirements^json_encode%",
"asset_metadata_canBeStudiedPartTime" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_canBeStudiedPartTime^json_encode%",
"asset_metadata_durationDescription" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_durationDescription^json_encode%",
"asset_metadata_minimumDuration" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_minimumDuration^json_encode%",
"asset_metadata_internationalApiCode" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_internationalApiCode^json_encode%",
"asset_metadata_keyDateSet" : [ %asset_parent^as_asset:asset_metadata_keyDateSet^as_asset:asset_contents% {} ],
"asset_metadata_keyInfoSet" : "%globals_asset_metadata_ProgrammeId^as_asset:asset_metadata_keyInfoSet%",
"showOldCardDefault" : "true"
}]
}


Caveats

Don't edit existing individual date, date sets or date pages. These are used in multiple areas, so editing it in one area will create erroneous dates in other areas.