An accessible way to listen to the newly sorted headers of a horrible data table/list structure like so:
<div>
<dl>
<ul>
<li>
<a></a>
</li>
</ul>| Ashmore and Cartier Islands | |
| Australian Antarctic Territory | |
| Australian Capital Territory | |
| Christmas Island | |
| Cocos (Keeling) Islands | |
| Coral Sea Islands | |
| Heard Island and McDonald Islands | |
| Jervis Bay Territory | |
| New South Wales | |
| Norfolk Island |
| # this code is shit 💩 | |
| # and probably more unreadable than ths cipher 😅 | |
| import string | |
| COIN = ['UWGJM', 'MNLQH', 'DFREA', 'JZLHI', 'GGHHQ', 'UTUJN', 'GNKYF', 'VNVLQ', | |
| 'MZZRQ', 'TLBTA', 'OSZHU', 'PKWKV', 'FZDTX', 'VTYGV', 'UIOKQ', 'IYQNU', | |
| 'TWUWB', 'DYOLF', 'AXMPD', 'GMRTY', 'NZGIS', 'GUQXN', 'AEOMI', 'HWBKE'] | |
| OTP = ['MWPZJ', 'FUBVM', 'FQICV', 'ZTAFD', | |
| 'ZCZLJ', 'SNYMT', 'CSXIG', 'ZTXKJ', |
| // determine if OTD and FGAMS applicants are subject to Section 19AB of the Health Insurance Act 1973 | |
| // https://www.agpt.com.au/ArticleDocuments/185/AGPT-Eligibility-Guidelines-2020-Pathway.pdf.aspx | |
| // Conditions | |
| // a You obtained your medical qualification overseas | |
| // b ANZ citizen when you enrolled in your medical degree and current resident | |
| // c By Feb 2020 you have been medically registered for 10 years or more | |
| // e Assessed as eligible to sit AMC examinations prior to 1 Jan 1997 |
| # you need the quiz id, question number | |
| curl "https://elmocoursebuilder.com.au/lmsAssess/getResult/id/Zp6Vg6U=/uid/8097/mid/235/cid/221/sd/ahri.elmotalent.com.au/newPlayer/" -H "Accept: application/json, text/javascript, */*; q=0.01" -H "Origin: https://elmocoursebuilder.com.au" -H "X-Requested-With: XMLHttpRequest" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36" -H "Sec-Fetch-Mode: cors" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" --data "point=10^&remainingAttempts=-1" --compressed |
| # I'm surprised this doesn't already exist | |
| # Just add Institute, Course ID and your bearer token | |
| # check settings, default only selects threads which are 'closed for comments' | |
| import requests | |
| import json | |
| import urllib.request | |
| # Define the Canvas Discussion Variable |
An accessible way to listen to the newly sorted headers of a horrible data table/list structure like so:
<div>
<dl>
<ul>
<li>
<a></a>
</li>
</ul>Classes and Function Modules
| Name | Type | Description | Purpose |
|---|---|---|---|
| cl_scmg_case_api | CL | Case: API | A useful API class for performing operations against CRM Cases. This class implements the IF_SCMG_CASE_API interface. |
| rh_struc_get | FM | Read Structures | A function module useful for reading the Organisation structure based on the Evaluation path and object you provide it. An example is that you can determine a user's organisational heirarchy. |
| end_time_determine | FM | Calendar: Determine end date and time | A function module that will determine the end date based off the duration you provide (also depends on Calendar. E.g. working calendar). |
| if_crm_ui_navigation_service | IF | Navigation Service | |
| cl_crm_ui_navigation_service | CL | Navigation Service | |
| cl_crm_ui_descriptor_obj_srv | CL | Creation Service |
| REPORT Z_REPORT_PROGRAM_1. | |
| *--------------------------------------------------------------------* | |
| * Data declarations | |
| *--------------------------------------------------------------------* | |
| *--------------------------------------------------------------------* | |
| * LOAD-OF-PROGRAM | |
| * This is essentially the program's constructor. | |
| *--------------------------------------------------------------------* |
Your context node class’ inheritance must be changed to: CL_BSP_WD_CONTEXT_NODE_TREE.
You then must redefine the “Refresh” method and write similar code to the following:
DATA: lr_value_node TYPE REF TO cl_bsp_wd_value_node,
lr_iterator TYPE REF TO if_bol_bo_col_iterator,
lr_root TYPE REF TO if_bsp_wd_tree_node.| DATA: lr_entity TYPE REF TO if_bol_bo_property_access, | |
| lr_node TYPE REF TO cl_bsp_wd_value_node, | |
| lr_col TYPE REF TO if_bol_bo_col, | |
| lr_node_struc TYPE REF TO <structure of your node>. | |
| TRY. | |
| lr_col ?= me->typed_context->node->collection_wrapper. | |
| lr_col->clear( ). | |
| CREATE DATA lr_node_struc. |