How to org.eclipse.smarthome.links:autoLinks=false

I am trying to follow link below to disable “simple” mode for OH, where users do not have to manually create items and links at all.

However, I face some problems here.
1 However, if I use env in shell. I got null

openhab> env org.eclipse.smarthome.links:autoLinks

2 UIs can check whether this service is active or not by accessing /rest/links/auto.
which is also mentioned in the link
I got error from http://localhost:8181/rest/links/auto

“error”: {
“message”: “HTTP 404 Not Found”,
“http-code”: 404,
“exception”: {
“class”: “”,
“message”: “HTTP 404 Not Found”,
“localized-message”: “HTTP 404 Not Found”

Do any expert have some idea of my problems?
Thank you very much.

As I answered in the other thread, you can put this straight into the configuration file (services.cfg I think from memory, but I might be wrong) or you can use either PaperUI, or HABmin by going to the services menu.

What version of openHAB are you using?

Hi chris,

Thank you very much for all your information.
And thank you for pointing out sevices.cfg, I do find it at runtime/etc/services.cfg.

Please let’s have one discussion on this topic - you’ve asked exactly the same question in two threads so I suggest we stick to the original thread?

Let’s stick to the original one.