[Mobile Utilities] Can't publish Mobile Utilities app

[Mobile Utilities] Can't publish Mobile Utilities app

  
Forge Component
(10)
Published on 2017-09-05 by Miguel Vicente
10 votes
Published on 2017-09-05 by Miguel Vicente

When I publish this app I get the following error:

Public JS API Not Supported

This module uses unsupported Javascript APIs. Using these APIs via $public is not supported in this version.

Exception Details:
[1] Public JS API Not Supported: This module uses unsupported Javascript APIs. Using these APIs via $public is not supported in this version.
at OutSystems.HubEdition.Compiler.GraphLinearization.CodeGenerator.Generators.Implementations.SequencesGenerator`1.<GetCommonGraphNodeCode>d__0.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__58`1.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__58`1.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at OutSystems.HubEdition.Compiler.GraphLinearization.CodeGenerator.GraphNodeCodeGenerator.DumpCode(StructuredGraph sg)
   at OutSystems.HubEdition.Compiler.Languages.JavaScript.GraphNodeCodeGeneration.JSGraphNodeCodeGenerator.DumpCode(StructuredGraph sg)
   at OutSystems.HubEdition.Compiler.Languages.JavaScript.JSActionFlowCodeGenerator.DumpClientActionsFlow(AbstractActionFlow flow, List`1 statements, StructuredGraph sg, GraphNodeCodeGenerator jsGraphVisitor, JsFactory js)
   at OutSystems.HubEdition.Compiler.Languages.JavaScript.JSActionFlowCodeGenerator.DumpBody(AbstractActionFlow flow)
   at OutSystems.HubEdition.Compiler.NewRuntime.Controller.ControllerCodeGenerator.GetActionDefinitionCode(JSActionFlowCodeGenerator actionFlowCodeGenerator, IObjectWithServerSideController origin, IAction action, String& actionName)
   at OutSystems.HubEdition.Compiler.NewRuntime.Controller.ControllerCodeGenerator.Visit(ESpace espace, TextWriter writer)
   at OutSystems.HubEdition.Compiler.NewRuntime.Controller.ControllerCodeGeneratorExtensions.Visit(ControllerCodeGenerator controllerCodeGenerator, IObjectWithTopLevelJsController objectWithController)
   at OutSystems.HubEdition.Compiler.ESpace.Dump()
   at OutSystems.HubEdition.Compiler.Compiler.InnerCompile(CompilationContext context)
   at OutSystems.HubEdition.Compiler.Compiler.Compile(CompilationContext context)
   at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.WithOverridenSettings(IDictionary`2 settingsOverride, Action body)
   at OutSystems.HubEdition.Compiler.Compiler.<>c__DisplayClass3.<Compile>b__1()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

I'm using version 10.0.613.0


How can I solve this error?

Hi Gerard de Wit,

How are you? 

Sorry for the late reply.

This is really strange because this is the javascript API from OutSystems as you can see here(https://success.outsystems.com/Documentation/10/Reference/OutSystems_APIs/JavaScript_API)

Could you provide me more information about this situation? 

Kind Regards,

Miguel Vicente