cancel
Showing results for 
Search instead for 
Did you mean: 

NwbcOptions.xml file location

wessel2913
Discoverer

Hello,

I'm tasked with distribution of the NwbcOptions.xml file so all users have the same look and feel and settings.
I was told this file needs to be placed in to the following folder on all windows10 machines;

%AppData%\Roaming\SAP\NWBC\NwbcOptions.xml

But now I'm looking into the admin guide I am not so sure. I am also seeing that a file is existing in;

C:\ProgramData\SAP\NWBC\NwbcOptions.xml

Can someone tell me the correct location for this options file? And what the difference is between the two?

Thank you

Accepted Solutions (0)

Answers (3)

Answers (3)

sandra_thimme
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi satyabrata.basu,

you don't need the variable. It's actually very simple.

First: As you already mentioned the admin options can be found under C:\ProgramData\SAP\NWBC.

There you have to work with the template files. You have to delete the template endings to become a real xml.file (70template, 770template).

Second: Store your NWBCOptions.xml-file wherever you like.

Third: The NwbcRemoteOptions.xml-File stays were it is, but you have to "tell" him the location of the NWBCOptions.xml-file. It's all described inside the xm.files.

While starting, the BC "looks" into the NWBCOptions.xml-file and can read where the NWBCOptions.xml is located.

Regards,

Sandra

Satyabrata_Basu
Contributor
0 Kudos

Hi Sandra,

I understand it now, and I tested it and looks fine.

Many thanks for your valuable time and kind explanation.

Best regards and have a nice day !

Satya.

michalM1
Discoverer
0 Kudos

Hello Sandra, all,

the only disadvantage is that you have to manually maintain "the template endings to become a real xml.file". I'm missing the functionality where in case of distribution to thousands of clients this is to be done already in packaging process e.g. SAPSetup is not offering it as far as I see. Customers are left here to customize the way on how to change the template endings.

Best regards.

Michal

sandra_thimme
Product and Topic Expert
Product and Topic Expert
0 Kudos
Satyabrata_Basu
Contributor
0 Kudos

Hi Sandra,

Many thanks for your reply. I actually went through these documents, but I could not find the answer to my question.

My problem is following:

We want to set "Google Chromium" as default browser for NW Business Client in all user PC (default it gets installed with "Internet Explorer"). I found that I can set this up using NwBcOptions.xml file.

But this file default exists in %AppData%\Roaming\SAP\NWBC\NwbcOptions.xml which is not easy to deploy automatically as "%AppData%" can vary depending on individual user PC and we also want it not user specific but PC specific.

E.g. for connection landscape file "SAPUILandscape.XML", we can save it in a local directory e.g. "C:\SAPLogon" and point it to via PC Environment variable "SAPLOGON_LSXML_FILE". It is then easier to maintain for large number of PC automatically and the settings is PC specific.

But I could not find a similar option for "NwbcOptions.xml". Ideally I would like to have an option to define a similar "Environment Variable" as we can do for Landscape file also for this "NwbcOptions.xml" and point it to a specific directory e.g. C:\SAPNWBC\NwbcOptions.xml

I tried to look in Windows Registry key as an alternative option, but I could not find any key pointing to NwbcOptions.xml either.

I was wondering if such option already exists or if there is any plan to introduce it in future NWBC Patch/release ?

Thank you with kind regards,

Satya.

sandra_thimme
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

please have a look at the following Set-Up-Dokument:

https://www.sap.com/germany/documents/2018/07/b80e4e6d-0f7d-0010-87a3-c30de2ffd8ff.html

, Page 11.

Or check the documentation to see how to reference to a server or share to distribute your file:

Administrator Configuration - SAP Help Portal

Regards,

Sandra

Satyabrata_Basu
Contributor
0 Kudos

Hi Sandra,

Is there an option to change the location of NwBcOptions.xml file from its default %AppData%\Roaming\SAP\NWBC\NwbcOptions.xml ?

I am looking for a similar solution as we can do for SAPUILandscape.XML via Environment Variable "SAPLOGON_LSXML_FILE".

Thank you with kind regards,

Satya,