Ok,
So in the course I'm working with I needed the _pageLevelProgress._isEnabled: false to not be stopping the SCORM completion.
I have modified the initialize function on the components to set _isCompleted to true if _pageLevelProgress._isEnabled: false.
Adding the function to the js file in the components in question:
For example the adapt-contrib-graphic.js
--------------------
var Graphic = ComponentView.extend({
initialize: function() {
this.listenTo(Adapt, 'remove', this.remove);
this.listenTo(this.model, 'change:_isVisible', this.toggleVisibility);
this.preRender();
this.render();
// added by MSA at XTRACTOR
// if _pageLevelProgress is false, set to completed
var model = this.model;
if (model.attributes._pageLevelProgress) {
if (model.attributes._pageLevelProgress._isEnabled === false) {
this.model.set('_isComplete', true);
}
}
},
--------------
or in the case of adapt-contrib-hotgrapic.js to edit the initialize function:
---------------
var HotGraphic = ComponentView.extend({
initialize: function() {
this.listenTo(Adapt, 'remove', this.remove);
this.listenTo(this.model, 'change:_isVisible', this.toggleVisibility);
this.preRender();
if (Adapt.device.screenSize == 'large') {
this.render();
} else {
this.reRender();
}
// added by MSA at XTRACTOR
// if _pageLevelProgress is false, set to completed
var model = this.model;
if (model.attributes._pageLevelProgress) {
if (model.attributes._pageLevelProgress._isEnabled === false) {
this.model.set('_isComplete', true);
}
}
},
------------------------
Now, the progressbar in the menu gets filled even if I do not complete the Hotgrapic and the course gets completed as well.
There is probably a better way to handle this but it works for me in my current course and can hopefully help others as well.
Best regards,
Martin