Fix rendering of bullets and numbering in an article
This commit is contained in:
Родитель
f14a0a461b
Коммит
01f8576bb7
|
@ -31,20 +31,21 @@ Each item in a content type consists of field-value pairs ({Field-Name: Field-Va
|
|||
> * "ModifiedBy" value will be set to an empty Guid like "00000000-0000-0000-0000-000000000000" for all renamed items
|
||||
|
||||
To rename a field you have to complete the following steps:
|
||||
|
||||
1. Update the field name in the database - you can use '$rename' operator and issue a PUT request:
|
||||
|
||||
```HTTPS
|
||||
Request:
|
||||
PUT https://api.everlive.com/v1/{{site.app-id}}/content-type-name
|
||||
Headers:
|
||||
Authorization masterkey {{site.master-key}}
|
||||
Content-Type application/json
|
||||
Data:
|
||||
{
|
||||
"$rename": {"old-field-name": "new-field-name" }
|
||||
}
|
||||
```
|
||||
```HTTPS
|
||||
Request:
|
||||
PUT https://api.everlive.com/v1/{{site.app-id}}/content-type-name
|
||||
Headers:
|
||||
Authorization masterkey {{site.master-key}}
|
||||
Content-Type application/json
|
||||
Data:
|
||||
{
|
||||
"$rename": {"old-field-name": "new-field-name" }
|
||||
}
|
||||
```
|
||||
|
||||
2. Update the name of the column as shown in the Data Browser
|
||||
* Delete the field with the old name from {{site.tp}} -> Data -> Types -> Edit Structure (this will have no effect over the data).
|
||||
* Create a new field with the new name that matches the "new-field-name" from Step 1. The new field will correctly bind to the renamed keys in the stored data in Step 1 and will be displayed properly in the UI - Data Browser.
|
||||
* Delete the field with the old name from {{site.tp}} -> Data -> Types -> Edit Structure (this will have no effect over the data).
|
||||
* Create a new field with the new name that matches the "new-field-name" from Step 1. The new field will correctly bind to the renamed keys in the stored data in Step 1 and will be displayed properly in the UI - Data Browser.
|
||||
|
|
Загрузка…
Ссылка в новой задаче