cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

SAP BTP Feature Flags Service instance access in NodeJs and deployment

01-28-2025 5:39 PM
DebashishDas Active Participant
315 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

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.

 

 

 

0 Likes

Accepted Solutions (0)

Answers (0)