D2L Hide/Lock Content? - desire2learn

In automating a content workflow for students in Desire2Learn I am trying to hide and unhide content based on external events. In D2L REST APIs how are content objects and learning objects locked/unlocked or hidden/unhidden?

The isHidden and isLocked fields are controlled by the calls using the ContentDataObject such as the call to update a topic.

Related

Is it possible to cutomize the admin view in twilio flex-ui?

I currently can't find a clear way of customising the admin view for twilio flex? I basically would like to remove the test drive chat and the only way I found to do it is to hide it by changing the style.display to none via JavaScript.
The Admin view is actually a plugin itself, and it is not customisable.
If you have feature requests for the admin view, such as being able to configure whether the chat appears, I recommend you talk to your account executive.

Office.Js best method for notifying and syncing end user of updates from another system

Office.JS is presenting some challenges that seem to end in the same you can't do that loop.
We have a system that's used to create appointments and tasks based on certain variables. What we're struggling with is the best method to sync those events/appointments to the end user.
We've landed with sending the user letting them know there is pending items, but is there a way to embed office.js into the email to open the task pane to sync the two systems?
I know event-based exists, but forcing a sync when composing any email seems crazy. https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch
Is there a better way?
There is no way to open a task pane programmatically from Outlook web add-ins.
A task pane can be displayed by using the following mechanisms that require end user actions as well:
A ribbon button can be assigned to open a task pane.
A notification message can be configured programmatically at runtime to open a task pane.
If you need to synchronize items in Outlook I'd suggest handling onSend event (or smart alerts) where you can read all the data of an item being sent and sync it with your back end server. Also you may consider using Graph API for syncing all items, not only the current one.
Outlook web-based add-ins are designed to work for a particular (currently selected) item only. And they are still very limited, comparing to VSTO add-ins, in customizing the Outlook UI.

What is the best way to assign incoming task (SMS, call, chat) to a person based on custom logic?

I need to create a rule in Twilio Flex to assign incoming calls, SMS, chat messages to different people based on a custom rule in our existing system, e.g. make a GET request to our backend and decide based on the returned response.
Is this possible to implement with Twilio Flex? What is the best way to do it?
I would prefer to keep as much logic as possible on our server, to avoid all the button clicking and drag&dropping widgets around and to keep it in VCS.
I solved the problem by using a Twilio Function in Studio.
When a call comes in to Studio, it makes an API call via the function that returns some custom JSON data (e.g. assignedWorkerEmail). Then I can pass this data to the Send To Flex widget, which adds that data to its task's attributes. Further routing within Flex happens based on the task attributes.

Eloqua API - Retrieve a list of contacts based on Security Label

I'm trying to build a dashboard that provides information (aggregates only) about contacts in our Eloqua database, but only those with a specific security label. Is there a way to gather this info using the REST APIs that ELoqua publishes? If not, is it something I can filter on in the Analytics suite?
Unfortunately, the contact security labels are very internal and are not directly available through the api or reporting. A workaround would be to create a shared list for each label, and then add the contact to that list depending on what label they have been assigned, and handle this directly on the label assignment workflow (each time they run through the label assignment workflow, remove them from all shared lists in case their label changes).
You can then access list membership through the API or bring it in as a subject area in OBIEE, filtering on the appropriate lists.

what analytic tool can I use for tracking exactly what users click

Please advise what tool can I use to track what user is exactly clicking i.e. click-streams – to view the actual click-stream of each visitor.
I came across "rail stat" but it seems outdated (09'). I also saw "clicky" but am unsure if I can see click streams with it?
So what other analytic tool can I use to view click streams?
Every answer would be greatly appreciated!
You could try the "event tracking" part of google analytics which allows you to track interactions with your site (clicks etc etc) rather than just the normal per-page.
Here is a snippet from the Event Tracking docs:
Event Tracking Overview
Event Tracking is a method available in the ga.js tracking code that you can use to record user interaction with website elements, such as a Flash-driven menu system. This is accomplished by attaching the method call to the particular UI element you want to track. When used this way, all user activity on such elements is calculated and displayed as Events in the Analytics reporting interface. Additionally, pageview calculations are unaffected by user activity tracked using the Event Tracking method. Finally, Event Tracking employs an object-oriented model that you can use to collect and classify different types of interaction with your web page objects.
By contrast, tracking web page objects using the urchin.js tracking code requires virtual URL creation and provides no object hierarchy. With the legacy urchin.js code, user interaction with page objects is calculated and displayed as part of total page views to your site, and no distinction is made between actual and virtual pageviews.
With ga.js, you would commonly apply Event Tracking to:
Any Flash-driven element, like a
Flash website, or a Flash Movie player
Embedded AJAX page elements
Page gadgets
File downloads
Load times for data
Another option is Open Web Analytics, which includes an option to both record a user's DOM stream for later playback and to record a heat map.
OWA is a standalone PHP app that is able to monitor multiple domains. It is under active development with version 1.5 out any day now.
HTH

Resources