{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ru/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Импортировать Local Storage"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"импортировать-local-storage","__idx":0},"children":["Импортировать Local Storage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Тип узла: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_importLocalStorage"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"назначение","__idx":1},"children":["Назначение"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Записывает переданные значения в Local Storage страницы."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"настройки-в-настольном-клиенте","__idx":2},"children":["Настройки в настольном клиенте"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/import-local-storage.fddc06e7880f552c64e75987401f8d7489d77be970c8c146e1669b69152fc33a.0538f3a9.webp","alt":"Настройки узла «Импортировать Local Storage» в настольном клиенте"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Снимок сделан в английском интерфейсе MoreLogin Desktop V2.73.101."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"входные-данные","__idx":3},"children":["Входные данные"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Эти поля указываются в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.browserUi.inputs"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Поле"},"children":["Поле"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Тип или значения"},"children":["Тип или значения"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Обязательно по схеме"},"children":["Обязательно по схеме"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"По умолчанию при выполнении"},"children":["По умолчанию при выполнении"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Описание и ограничения"},"children":["Описание и ограничения"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataSource"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"input\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"file\""]}," (поддерживает ссылки на переменные)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"input\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Источник данных. Начальное значение в редакторе: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"input\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["importFile"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Файл JSON"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["storage"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[\"null\",\"boolean\",\"number\",\"string\"]"]}," / array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["JSON"]},"> / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}," (поддерживает ссылки на переменные)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Данные Local Storage"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["importMode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"merge\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"replace\""]}," (поддерживает ссылки на переменные)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"merge\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Режим импорта. Начальное значение в редакторе: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"merge\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["refreshAfterImport"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}," (поддерживает ссылки на переменные)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Обновить страницу после импорта. Начальное значение в редакторе: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"требования-к-режимам-и-ограничения","__idx":4},"children":["Требования к режимам и ограничения"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Для dataSource=input нужен storage (объект или строка JSON); для file нужен importFile (текст JSON или {content:текст JSON}). Текущая страница должна быть открыта по HTTP/HTTPS."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Код ошибки проверки: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ссылки-во-входных-данных","__idx":5},"children":["Ссылки во входных данных"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Поле"},"children":["Поле"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Допустимые формы"},"children":["Допустимые формы"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataSource"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["importFile"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["storage"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["importMode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["refreshAfterImport"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"выходные-данные","__idx":6},"children":["Выходные данные"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Поле выходных данных"},"children":["Поле выходных данных"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Тип или значения"},"children":["Тип или значения"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["origin"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["importedCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["importMode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"merge\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"replace\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["refreshed"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ссылайтесь на опубликованные поля в виде ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${nodeId.data.field}"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"пример-json","__idx":7},"children":["Пример JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Полный объект узла для массива ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nodes"]}," сценария или для ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," другого узла."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"restore_settings\",\n  \"type\": \"browser_importLocalStorage\",\n  \"data\": {\n    \"title\": \"Restore the saved site settings\",\n    \"browserAction\": \"importLocalStorage\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"dataSource\": \"input\",\n        \"storage\": {\n          \"theme\": \"dark\",\n          \"language\": \"en\"\n        },\n        \"importMode\": \"merge\",\n        \"refreshAfterImport\": true\n      },\n      \"exception\": {\n        \"timeout\": 30000,\n        \"policy\": \"interrupt\"\n      }\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ru/browser-rpa/nodes"},"children":["Назад к каталогу узлов"]}]}]},"headings":[{"value":"Импортировать Local Storage","id":"импортировать-local-storage","depth":1},{"value":"Назначение","id":"назначение","depth":2},{"value":"Настройки в настольном клиенте","id":"настройки-в-настольном-клиенте","depth":2},{"value":"Входные данные","id":"входные-данные","depth":2},{"value":"Требования к режимам и ограничения","id":"требования-к-режимам-и-ограничения","depth":2},{"value":"Ссылки во входных данных","id":"ссылки-во-входных-данных","depth":2},{"value":"Выходные данные","id":"выходные-данные","depth":2},{"value":"Пример JSON","id":"пример-json","depth":2}],"frontmatter":{"seo":{"title":"Импортировать Local Storage"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ru/browser-rpa/nodes/network/import-local-storage","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}