Hi Guys,
long time ago you started that thread. I faced an issue with AutoCAD/Inventor Version 2024, where that syntax of JSON file is NOT working.
Comparing the json files UnNamee.json (see above) and the newly created user related json file in Folder UserConsent shows a slight change in their syntax:
Pre 2024 json file:
{
"lastUpdated": 1650959017679,
"preferences": [
{
"consentId": "ADSK_PUD_CONTRACTUAL_NECESSITY_DESKTOP",
"optIn": false
},
{
"consentId": "ADSK_PUD_OPTIMIZATION_IMPROVEMENT_DESKTOP",
"optIn": false
},
{
"consentId": "ADSK_PUD_GO_TO_MARKET_DESKTOP",
"optIn": false
}
],
"userActionRequired": false,
"userId": "UnNamed"
}
Syntax for AutoCAD/Inventor 2024:
{
"preferences": [
{
"consentId": "ADSK_PUD_CONTRACTUAL_NECESSITY_DESKTOP",
"lastUpdated": 1684195982000,
"optIn": false
},
{
"consentId": "ADSK_PUD_OPTIMIZATION_IMPROVEMENT_DESKTOP",
"lastUpdated": 1715753750000,
"optIn": false
},
{
"consentId": "ADSK_PUD_GO_TO_MARKET_DESKTOP",
"lastUpdated": 1715753750000,
"optIn": false
}
],
"userActionRequired": false,
"userId": "UnNamed"
Note the lines for "lastUpdated" are now inserted for every option.
Now its working for our Autodesk 2024 deployment.
Have a great day.
/Jochen