Skip to main content
Question

Configuration into user-level profile

  • March 2, 2022
  • 3 replies
  • 0 views

Manu Fernandes
Forum|alt.badge.img+2
Hi all,

Is there some one with experience to define the config files at user-level's profile  ? c:usersme.rmvconfig...json
I'll define the db.mvbasic.json >
db{
    "host": "masterdev.infodata.lu",
    "userName": "me",
    "password": "mypasswd",
    "dataSource": "UNIVERSE",
    "port": 31438
}

then at directory level define db.mvbasic.json> db.account: myaccount 

and so I'll define format.mvbasic.json at user-level 's profile ? 

Any idea how to achieve it ? 

thanks by advance.
manu

3 replies

Jingwen Li
  • Rocketeer
  • 5 replies
  • March 2, 2022
Hi all,

Is there some one with experience to define the config files at user-level's profile  ? c:usersme.rmvconfig...json
I'll define the db.mvbasic.json >
db{
    "host": "masterdev.infodata.lu",
    "userName": "me",
    "password": "mypasswd",
    "dataSource": "UNIVERSE",
    "port": 31438
}

then at directory level define db.mvbasic.json> db.account: myaccount 

and so I'll define format.mvbasic.json at user-level 's profile ? 

Any idea how to achieve it ? 

thanks by advance.
manu
Hi Manu,

for "db" item in "db.mvbasic.json", it doesn't be support at user-level's profile. Because we think these properties have strong relationship with account folders / workspace folders. For example, "account" in every workspace folder is likely to be different. So does "groupview.mvbasic.json".

The formatting related settings could work at user-level profile,  but you need to restart VSCode when config file at user-level's profile is changed. I think that should be a bug to be fixed.

If you have any questions or suggestions, please feel free to contact us.

Thank you very much!

Manu Fernandes
Forum|alt.badge.img+2
  • Author
  • Inspiring
  • 257 replies
  • March 2, 2022
Hi all,

Is there some one with experience to define the config files at user-level's profile  ? c:usersme.rmvconfig...json
I'll define the db.mvbasic.json >
db{
    "host": "masterdev.infodata.lu",
    "userName": "me",
    "password": "mypasswd",
    "dataSource": "UNIVERSE",
    "port": 31438
}

then at directory level define db.mvbasic.json> db.account: myaccount 

and so I'll define format.mvbasic.json at user-level 's profile ? 

Any idea how to achieve it ? 

thanks by advance.
manu
hi  Jingwen Li 

Thanks for the response.

ok, I understand, but :

1/ if you run 50+ accounts on your development server, as we do, it's probably better to define host(s) profiles at user-level.
2/ if you work on the u2 server, as we do via RDP session, each developer work VSC at the 'account directory level' then it's impossible to define it's own user/passwd.

Then I'll propose an enhancement for a user-level 's profiles defn like :

~.rmvconfigprofiles.mvbasic.json

{
"profiles": [
     {
        "profile": "hostnameDev"
        "userName": "me",
        "password: "mypasswd"
     },
     {
        "profile": "hostnameProd",
        "userName": "me",
        "password: "mypasswd"
     }
]
}

project.rmvdb.mvbasic.json 

{
     "version": "1.0",
     "db": {
          "profile": "hostnameDev"
          "account": "myAccount"
     }
}


I hope you understand.
with kind regards
manu 


Chao Han
Forum|alt.badge.img+1
  • Rocketeer
  • 52 replies
  • March 2, 2022
Hi all,

Is there some one with experience to define the config files at user-level's profile  ? c:usersme.rmvconfig...json
I'll define the db.mvbasic.json >
db{
    "host": "masterdev.infodata.lu",
    "userName": "me",
    "password": "mypasswd",
    "dataSource": "UNIVERSE",
    "port": 31438
}

then at directory level define db.mvbasic.json> db.account: myaccount 

and so I'll define format.mvbasic.json at user-level 's profile ? 

Any idea how to achieve it ? 

thanks by advance.
manu
Hi, Manu.
I have created an enhancement request for this, thanks.
Best Regards.
Charles.