1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ServiceNow - Easy Importでadmin以外でもテーブルデータをエクスポートできるようにする

Posted at

概要

デフォルトではEasy Importはadmin権限が必要です。データをインポートするにはadmin権限が必要ですが、admin権限以外のロールが付与されたユーザもテーブルデータをエクスポートできるようにできます。

注意:データをエクスポートすることは可能になりますが、Easy ImportでExcelデータをインポートすることはadmin権限が必要です。

手順

  1. アプリケーションナビゲータから「UI Context」を検索して「UI Context Menus」を選択。
    easy_import_non-admin_1.png
  2. ConditionにEasy Importを可能にするロールを条件に追加します。
    例:ロールeasy_exportが付与されているユーザもインポートからExcelファイルをダウンロードできるようにするには次のようにConditionを変更します。
    (gs.hasRole('easy_export') || gs.hasRole('admin'))
    easy_import_non-admin_2.png
    3.権限を付与したユーザでログインするとコンテキストメニューから「Import」を選択することが可能になる。
    easy_import_non-admin_10.png
  3. 「Create Excel template」ボタンを押下すると列名が記載されたExcelファイルをダウンロードできます。また、「Update」を選択した後に「Create Excel template」を選択するとテーブルデータがダウンロードされます。
    easy_import_non-admin_11.png

以上

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?