seanmcne / OrgDbOrgSettings

This is a utility allowing admins of Dynamics CRM Online & onPrem to edit organization database settings (aka: OrgDBOrgSettings). This allows you to edit your settings without using the command line utility in the KB article documenting "OrgDBOrgSettings." The utility is written using the CRM SDK as a reference and currently all changes and retrieval of settings are done via the CRM's OData Endpoint and is installed via a managed solution containing several webresources and can easily be installed and uninstalled from your CRM environment.
MIT License
95 stars 31 forks source link

Would it be possible to add AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT to the settings? #83

Closed vgarre closed 2 years ago

vgarre commented 2 years ago

Hi, Would it be possible to add AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT to the tool?

Currently, it is possible for a field length to be increased by importing a record with more characters in a field imported than is defined in the schema.

This setting prevents the field length from being increased as a result of an import.

seanmcne commented 2 years ago

I certainly could look into that - is it just an attribute on the organization entity? Or can you give me an example of how you've changed this in an existing Online environment?

seanmcne commented 2 years ago

Looking into this a bit and I'm pretty sure this is a deployment setting. This solution only updates Organization.OrgDbOrgSettings and various other Organization entity settings that you can otherwise modify using the api.

vgarre commented 2 years ago

Hi Sean,

Microsoft Support added/documented the setting as a result of an issue caused by that for my company.

These are the instructions they gave me:

We have added feature for Data import pipeline so that you can configure this setting based on their needs. Today If Data import workflow find field in excel has larger length value than database than it will extend width in CRM so that import can succeed. Please note that disabling this field will fail the import and customer will have to ensure max length requirement is satisfied in excel and upload again.

This setting is selfserve, below article updates one such setting. you can follow step and update AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT to false.

https://powerplatform.se/how-to-reduce-subscriptiontrackingdeletedobject-table-in-cds-dynamics-365/https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpowerplatform.se%2Fhow-to-reduce-subscriptiontrackingdeletedobject-table-in-cds-dynamics-365%2F&data=04%7C01%7Cvgarre%40libbey.com%7C4d41eb93b0534d93bdee08da01fe40fc%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824488835767359%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2F26cefcd4GkN7vwFqKDi9Nldi%2FFJfQC5aSM%2BjNHdsUw%3D&reserved=0

Does this help?

From: Sean McNellis @.> Sent: Wednesday, March 9, 2022 3:39 PM To: seanmcne/OrgDbOrgSettings @.> Cc: Voni Garrett @.>; Author @.> Subject: [EXTERNAL] Re: [seanmcne/OrgDbOrgSettings] Would it be possible to add AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT to the settings? (Issue #83)

Caution: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

I certainly could look into that - is it just an attribute on the organization entity?

- Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fseanmcne%2FOrgDbOrgSettings%2Fissues%2F83%23issuecomment-1063349865&data=04%7C01%7Cvgarre%40libbey.com%7Cf3b568d5d5dc4d64a8c308da020ce82f%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824551707682422%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ZfUQRuBmcy7HH4SZ%2Fj2GonoEi21eEUo0Byr6aejRU1Q%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQACLZ25C73Z7F4DDEAJVNDU7ED77ANCNFSM5QKM4FXQ&data=04%7C01%7Cvgarre%40libbey.com%7Cf3b568d5d5dc4d64a8c308da020ce82f%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824551707682422%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=AGMCLJKXZHd1ClnqXK9CeFl5KxwboDwuxcOGJvGd6O4%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cvgarre%40libbey.com%7Cf3b568d5d5dc4d64a8c308da020ce82f%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824551707682422%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=QImZrSPEdpDt5N1ND%2FFvjLAqdKZea38xifTrHv8oUKo%3D&reserved=0 or Androidhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cvgarre%40libbey.com%7Cf3b568d5d5dc4d64a8c308da020ce82f%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824551707682422%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=AOaFnELuUWzDEQkzYZwONsiUTcuUeqourRVQ4JpU65k%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

seanmcne commented 2 years ago

I don't see a reference to autoextendattributemaxlengthlimit in that article - if you could point me to some documentation on it I can see if there's a way to incorporate it but so far it appears as if it's a deployment setting (which isn't something you can typically update yourself for the online environment). The references I can find internally are all pointing to this being a lower level setting than you could self service (Unless there is an updated name or setting taht I'm missing).

vgarre commented 2 years ago

Hi Sean,

I believe they used the reference to your tool that is used for that article, can also be used to update the newly documented setting autoextendattributemaxlengthlimit.

They said it should show up in the list of settings.

I can ask for more information, or add you to the email list for the discussion?

From: Sean McNellis @.> Sent: Wednesday, March 9, 2022 3:58 PM To: seanmcne/OrgDbOrgSettings @.> Cc: Voni Garrett @.>; Author @.> Subject: [EXTERNAL] Re: [seanmcne/OrgDbOrgSettings] Would it be possible to add AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT to the settings? (Issue #83)

Caution: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

I don't see a reference to autoextendattributemaxlengthlimit in that article - if you could point me to some documentation on it I can see if there's a way to incorporate it but so far it appears as if it's a deployment setting (which isn't something you can typically update yourself for the online environment).

- Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fseanmcne%2FOrgDbOrgSettings%2Fissues%2F83%23issuecomment-1063363810&data=04%7C01%7Cvgarre%40libbey.com%7C4ebb8ef912e142de88e508da020f73d5%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824562640893878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wx%2BUbEkZkqdgrcxb2BegSMo%2BWzJ6Mg25cF4cohVYvvs%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQACLZZEHDQU6DSOVPOKJE3U7EGELANCNFSM5QKM4FXQ&data=04%7C01%7Cvgarre%40libbey.com%7C4ebb8ef912e142de88e508da020f73d5%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824562640893878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kclC0QYwHrkycD32XDZAM1wtzf7wkBnTqqdGx9EM3ew%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cvgarre%40libbey.com%7C4ebb8ef912e142de88e508da020f73d5%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824562640893878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4SUyzJH7QaOPN8ve7DKPJTsmPomlaVRifE9v4%2FNClcM%3D&reserved=0 or Androidhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cvgarre%40libbey.com%7C4ebb8ef912e142de88e508da020f73d5%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824562640893878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8wpaKp%2B09MIiesD2W6m7LAi0GqIyZhS4BwnSUzhPK3E%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

seanmcne commented 2 years ago

Maybe the article is different from the URL Provided? This is what I'm seeing in the article - is this the article? I don't see any reference to importing data and auto extending columns - is this the article you're referring to? Again, if you have another setting name or reference I'd be happy to help track it down - as of today AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT doesn't exist as a setting that we can edit/change.

https://powerplatform.se/how-to-reduce-subscriptiontrackingdeletedobject-table-in-cds-dynamics-365/

image

vgarre commented 2 years ago

Hi Sean,

Microsoft directed me to this article because it references your tool to update settings. @.***

They said this same tool can also be used to update the setting they just recently set up and documented named AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT.

I sent your response to Vinaybabu Akki from Microsoft Support. He is going to check with the Product Group to see if he can get more information for you. 😊

@.***

From: Sean McNellis @.> Sent: Wednesday, March 9, 2022 4:10 PM To: seanmcne/OrgDbOrgSettings @.> Cc: Voni Garrett @.>; Author @.> Subject: [EXTERNAL] Re: [seanmcne/OrgDbOrgSettings] Would it be possible to add AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT to the settings? (Issue #83)

Caution: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

Maybe the article is different from the URL Provided? This is what I'm seeing in the article - is this the article? I don't see any reference to importing data and auto extending columns - is this the article you're referring to? Again, if you have another setting name or reference I'd be happy to help track it down - as of today AUTOEXTENDATTRIBUTEMAXLENGTHLIMIT doesn't exist as a setting that we can edit/change.

https://powerplatform.se/how-to-reduce-subscriptiontrackingdeletedobject-table-in-cds-dynamics-365/https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpowerplatform.se%2Fhow-to-reduce-subscriptiontrackingdeletedobject-table-in-cds-dynamics-365%2F&data=04%7C01%7Cvgarre%40libbey.com%7Cabef8480e86148fb5f9308da0211335c%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824570158966354%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4rciYt4bblsk1%2FTAqSyvZ2hf14O%2FtZXqnM7sxZX2zCQ%3D&reserved=0

[image]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F2292260%2F157535983-b2ef5e6a-c015-482b-bf20-5ca0e1ed9de0.png&data=04%7C01%7Cvgarre%40libbey.com%7Cabef8480e86148fb5f9308da0211335c%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824570158966354%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4Ge%2BjPKTsifse6eSEQBp8IQHBE4leci6tWaaJzTm7To%3D&reserved=0

— Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fseanmcne%2FOrgDbOrgSettings%2Fissues%2F83%23issuecomment-1063373508&data=04%7C01%7Cvgarre%40libbey.com%7Cabef8480e86148fb5f9308da0211335c%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824570158966354%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=5C3u1Li2P6EcDjUaH1QZybwlm39%2BYK8ST8JsJ2%2BqVkk%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQACLZ4NV7R7BUZQI3AQFYDU7EHTJANCNFSM5QKM4FXQ&data=04%7C01%7Cvgarre%40libbey.com%7Cabef8480e86148fb5f9308da0211335c%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824570158966354%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=SjtfX5vdBNJ6os2OOnFKGsMvHTYlmu2NsaT76E2DdWE%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cvgarre%40libbey.com%7Cabef8480e86148fb5f9308da0211335c%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824570158966354%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hbTAvEAN55PtLEcw4nfV9Witv3GKwQnvwMOJyodwZGg%3D&reserved=0 or Androidhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cvgarre%40libbey.com%7Cabef8480e86148fb5f9308da0211335c%7C4663047b11554c6dbafa5ec38a099888%7C0%7C0%7C637824570158966354%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ASZF98inCeW6k8RPsWISFQwnF1mCw7qHTbnqVsU7efk%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

seanmcne commented 2 years ago

Excellent thanks! I'll also reach out to Vinaybabu Akki.

seanmcne commented 2 years ago

FYI looks like this hasn't been released yet - I let Vinay know that I'd like to know when it releases so we can get it added. Thanks!

vgarre commented 2 years ago

Hi Sean,

In the last email I received from Vinay this afternoon, he indicated this is a DB setting that would not be accessible from your tool...I thought he copied you on that email.. I am so sorry! I should have forwarded it to you.

Thank you for being so very responsive, I do truly appreciate it!

Have a great weekend!