Support Request: SiteKiosk Javascript object with Angular.

Description

I have AngularJS based application in site kiosk I try to make some features in particular shutdown. I want to use
SiteKiosk.shutdownWindows()
. But here is the problem I have.


$timeout(function(){
	if(angular.isUndefined($window.external.InitScriptInterface)) {
		toaster.pop('success', 'SiteKiosk', 'Cannot find init script', 10000);
		return;
	}
	toaster.pop('success', 'SiteKiosk', $window.external.InitScriptInterface.toString(), 10000);
}, 0);


I always get error "Cannot find init script". I cannot initialize and access SiteKiosk object. In Configuration access/security I added

http://127.0.0.1/*
http://127.0.0.1
http://localhost

Do I miss anything?

Answer: (1)

Re: SiteKiosk Javascript object with Angular. 1/22/2015 10:12 AM
Hello,

You need to make sure that the URL that is used when you open the web page containing the SiteKiosk Object Model code is added to the URLs with script permission (-->Access/Security):
http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?access.htm#three

Please understand that our free support cannot offer you any assistance with creating your own code or customizing the skin files (apart from the detailed SiteKiosk and SiteKiosk Object Model documentation).
- General Information about customizing SiteKiosk: http://www.sitekiosk.com/en-US/SiteKiosk/SiteSkin.aspx
- SiteKiosk help: http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?customization_%28site_skin%29.htm
- SiteKiosk Object model help: http://www.provisio.com/helpconsole/SiteKiosk%20Object%20Model%20Help/en-US/default.htm?index.htm
If you need further assistance in creating individual coding solutions you can contact us via e-mail that we may find a solution against payment for your needs.
(Or maybe one of the forum visitors who have already worked on this kind of code can give you some help.)

If you are interested in a solution against payment please write a detailed description to support-europe(at)provisio.com that we can check the technical feasibility and the amount of work to make a quotation.
The adjustment fees are depending on the complexity of the changes and in general it costs 120 Euro per hour.

Regards,
Michael Olbrich
My Account
Login
Language (Tickets):