How to make CORS to work on LiveDatamart 10.1.1

How to make CORS to work on LiveDatamart 10.1.1

book

Article ID: KB0075978

calendar_today

Updated On:

Products Versions
TIBCO Live Datamart 10.1

Description

On the LV Server, in order for CORS to work, update the property liveview.server.allowedOrigins=<hostname> to specify the hostname of the WebPlayer Server. Add liveview.server.allowedOrigins under systemProperties in engine.conf:
LDMEngine = {
        systemProperties = {
              "liveview.server.allowedOrigins" = "hostname"           
        }
}

The correct hostname format for an origin is:

scheme://hostname:port

for example:

http://myapp.example.com:12345
https://myapp.example.com
"*" can be used to allow all accesses.  
 

Issue/Introduction

How to make CORS to work on LiveDatamart 10.1.1