cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP BTP Feature Flags Service instance access in NodeJs and deployment

DebashishDas
Active Participant
0 Kudos
162

Hello SAP Gurus,

I have created one Feature Flags Service instance in BTP (featureflag). which i am trying to access in my Nodejs application using npm package @@sap/xsenv. which works fine in local run. I am getting all the details.

But problem occurs at the time of deployment. It does not recognize the feature-flags.

DebashishDas_0-1738081211336.png

But we have the instance of feature-flags

DebashishDas_1-1738082127263.png

Nodejs code -

 

var services = xsenv.getServices({
    "xsuaa": { name: 'basicnodejs-xsuaa' },
    "feature-flags": { name: 'featureflag' }
 });

 

Looking for help.

 

 

 

Accepted Solutions (0)

Answers (0)