Hi there:)
When I create 5~10 views, I would like to reuse some views because I just change only Filter and Sort.
My view has many fields so it takes a lot of time…
What should I do?
Hi there:)
When I create 5~10 views, I would like to reuse some views because I just change only Filter and Sort.
My view has many fields so it takes a lot of time…
What should I do?
Hi Masa.
It’s the same account name.
In kintone, we have not functions to copy Views data.
It would be a probable function we should have.
Refer to an example shown below to change View data.
It would make you easier to have your expected applications.
Example:
(1)Make a view to copy and update it later.
(2)Obtain information(Fields information) in it(a view) by an API.
(3)Update a view made in (1) based on the information obtained in (2).
var body = {
“app”: App ID,
“views”: {
“<View Name>”: {
“index”: “0”,
“type”: “<View Type>”,
“name”: “<View Name>”,
“fields”: [
//Field codes in a view
“Record_number”,
“Text__single_line_”
],
“sort”: “Record_number asc”
}
}
};
kintone.api(kintone.api.url(’/k/v1/preview/app/views’, true), ‘PUT’, body, function(resp) {
// success
console.log(resp);
});
(4)Update an application.
var body = {
“apps”: [{“app”: 2810}],
“revert”: false
};
kintone.api(kintone.api.url(’/k/v1/preview/app/deploy’, true), ‘POST’, body, function(resp) {
// success
console.log(resp);
});
We have explanation pages for details about API, listed below:
*CAUTION*
They are all in Japanese.
#To obtain settings in Views
https://cybozudev.zendesk.com/hc/ja/articles/204529784
#To change settings in Views
https://cybozudev.zendesk.com/hc/ja/articles/204529794
#To adopt application settings in a working system environment
https://cybozudev.zendesk.com/hc/ja/articles/204699420
Oh, sorry.
Other than a procedure shown before, in this case,
after you opened a purposed view, and set conditions to filter,
then you can register a view by clicking the “save” button
at the lower-right section in a screen.
Hi masa:)
>after you opened a purposed view, and set conditions to filter,
>then you can register a view by clicking the “save” button
>at the lower-right section in a screen.
Oh second one looks easy for me!
but I can’t find “save” button in this screenshot…
What else can I do?
This is an additional information.
According to kintone specifications, the “Save” button could
be shown for users with administrative privilege.
So, to show the “Save” button, start as a user with administrative privilege, or,
give a current user the “Manage app” right in
“Permissions for App” options.
I can find the “Save” button on the bottom!
Thank you so much:)
You are welcome!