<h1style="font-size:2em;font-weight:bold;text-align:center">Customer Support Dashboard</h1>
<h1style="font-size:2em;font-weight:bold;text-align:center">Customer Support Dashboard</h1>
<form>
<form>
<divstyle="text-align:center;">
<divstyle="text-align:center;">
<inputdata-theme="b"data-inline="true"type="submit"data-i18n="[value]Submit New Support Request"value="Submit New Support Request"data-icon="check"/>
<inputdata-theme="b"data-inline="true"type="submit"data-i18n="[value]Submit New Support Request"value="Submit New Support Request"data-icon="check"name="create"/>
# get the related Support Request, this should not be None
support_request_list=portal.portal_catalog(portal_type="Support Request",id=context.getId())# with id keyword, this function will return a sequence data type which contains one element.
# get the all HTML Posts which related to this Support Request
post_list=portal.portal_catalog(portal_type="HTML Post",strict_follow_up_uid=support_request_object.getUid(),sort_on=(('modification_date','descending'),),limit=1,validation_state="published")# with id keyword, this function will return a sequence data type which contains one element.
# get the related Support Request, this should not be None
support_request_list=portal.portal_catalog(portal_type="Support Request",id=context.getId())# with id keyword, this function will return a sequence data type which contains one element.