SAP Portal 上傳資源到WRR

来源:https://www.cnblogs.com/robinNing/archive/2019/05/17/10880028.html
-Advertisement-
Play Games

Uploading Resources to the Web Resource Repository Prerequisites You have been assigned the Content Administrator role. Context You can upload Web res ...


Uploading Resources to the Web Resource Repository

Prerequisites

You have been assigned the Content Administrator role.

Context

You can upload Web resources to the Web Resource Repository, so that they can be used by different portal components and applications. When you upload resources, they are saved as objects in the Portal Content Directory (PCD) and are also copied to the file system of the portal server (in the same folder hierarchy, and synchronized with any changes that you make). This allows the consumption of resources at runtime using relative paths. For example, a .css file that is saved in the Web Resource Repository can use a resource that is also saved in the Web Resource Repository, by specifying the following in one of its classes: background: url('../images/logo.png') .

Following are some guidelines for selecting resource files to upload:

  • All resource file names that you want to upload must contain only legal characters ( A-Z , 0-9 , . , _ , % , ~ , - , ( , and ) )
  • Maximum file name length is 100 characters
  • To render, in Microsoft Internet Explorer, icons with an .ico extension that are saved in the Web Resource Repository, you need to enable support for .ico images in SAP NetWeaver Administrator.

In SAP NetWeaver Administrator, navigate to Configuration  Infrastructure  Java System Properties  Services  HTTP Provider. To the Mime property, add the following value: \{.ico,image/x-icon\} .

  • Keep the folder hierarchy depth minimal, because the maximum file path for resource file storage is 120 characters (assuming that the root Web Resources folder is located here:C:\usr\sap\ROM\J00\j2ee\cluster\apps\sap.com\com.sap.portal.resourcerepository\servlet_jsp\com.sap.portal.resourcerepository\root\repo)

Note

To upload multiple resources simultaneously, add them to a compressed (.zip) file and then upload the compressed file.

If you have configured the Virus Scan Interface on your AS Java, all resource files are automatically scanned during the upload process.

Procedure

  1. Choose Content Administration  Web Resource Repository.
  2. In the Portal Catalog, expand the Web Resources node and navigate to the folder into which you want to upload resources.
  3. From the context menu of the selected folder, choose Upload Resources . The first page of the Upload Resources wizard appears.
  4. In the Resource File field, choose the Browse button and select the file to upload from the file system. Choose Open .
  5. Choose Add to Upload Table . The selected file is added to the list of files to be uploaded. If you selected a compressed (.zip) file in the previous step, the contents of the file are extracted and added to the table, each file or folder in a single row.

In the list of files to be uploaded, each file has a status that indicates whether it can be uploaded. If a file cannot be uploaded, the reason is given (for example, a file may contain invalid characters or it may exceed the maximum file size allowed). For information about changing the maximum file size, see Modifying the Uploadable File Size . Use the Filter by Status field to more easily see the problematic files. A summary of the number of files with each status is displayed at the top of the table.

Note

To remove a resource or folder from the list of files to be uploaded, select it in the upload table and choose Remove . If you select a folder, all resources and folders located below that folder are removed from the list.

  1. By default, new files with duplicate names in the same folder in the Web Resource Repository are not uploaded during the upload process. To upload files with duplicate names and overwrite the existing files in the Web Resource Repository, choose the Overwrite existing resources checkbox.

Note

This option applies to all the duplicate files in the upload table.

Checks for duplicate resource names are not case-sensitive, meaning that My.png and my.png are treated as duplicate files.

  1. Choose Start Upload . The upload process starts, and the files with the valid (green) status are uploaded.

When the upload process is complete, the second page of the Upload Resources wizard appears. This page shows a list of all the files that were uploaded, and those that were not uploaded. A summary of the number of files that were and were not uploaded is displayed at the top of the table. If a file was not uploaded, the reason is given. Use the Filter by Status field to more easily see the files that were not uploaded.

You can now see the added resource files in the Portal Catalog, in the folder to which you uploaded them.

  1. To upload additional files, choose Restart Wizard ; otherwise choose Close .

 

 


您的分享是我們最大的動力!

-Advertisement-
Play Games
更多相關文章
  • 一個程式往往由多個界面組成,界面之間的跳轉,實質是Activity之間的跳轉。 從當前程式跳轉到其它程式,實質是啟動了目標程式的入口Activity。 Intent被稱為意圖,常用於組件之間的交互,可用於啟動其它組件、程式,並可以在組件之間傳遞數據。 1、顯式意圖 直接指定要啟動的目標組件 方式一: ...
  • 1.v-on的基本使用 我們在的的時侯v-on是可以縮寫成@的,例如上邊的可以縮寫成:@:chick="btn"。 在Vue中,其他的事件都可以用v-on綁定 2.事件修飾符 在事件處理程式中調用 event.preventDefault() 或 event.stopPropagation() 是非 ...
  • 效果圖 項目結構 html代碼 css ...
  • 博客園美化之旅第一天 1.修改後的效果圖 2.修改中間學習到的 一.圖層樣式的關係 引用, 個人總結越具體的描述樣式所在的位置優先順序別越高,外層優先於內層, . 二.樣式設置 關於背景圖片設置 三.其他字體設置 以上為個人理解,我自己學的有些地方理解不到位大神看到了留言說下哈,謝謝`` ...
  • 以下是個人過去一年在vue項目的開發過程中經常會用到的一些公共方法,在此進行彙總,方便以後及有需要的朋友查看~ AES加密/解密,需要先安裝依賴 crypto-js。註:具體的選項參數可自行百度瞭解噢 MD5加密,需要先安裝依賴 js-md5 持續更新中~~ ...
  • 給父元素添加同每行展示列數一樣(展示列表最多的)的子元素。 子元素設置樣式: width:同子元素一樣的width ; height:0; ...
  • 在使用Ajax跨域請求時,如果設置Header的ContentType為application/json,會分兩次發送請求。第 一次先發送Method為OPTIONS的請求到伺服器,這個請求會詢問伺服器支持哪些請求方法(GET,POST等), 支持哪些請求頭等等伺服器的支持情況。等到這個請求返回後, ...
  • 使用vue-video-player在移動端微信內置瀏覽器打開,點擊視頻自動全屏問題。 參考官方 API 是 H5 同層瀏覽器的原因,可通過設置video屬性來處理。 ...
一周排行
    -Advertisement-
    Play Games
  • 移動開發(一):使用.NET MAUI開發第一個安卓APP 對於工作多年的C#程式員來說,近來想嘗試開發一款安卓APP,考慮了很久最終選擇使用.NET MAUI這個微軟官方的框架來嘗試體驗開發安卓APP,畢竟是使用Visual Studio開發工具,使用起來也比較的順手,結合微軟官方的教程進行了安卓 ...
  • 前言 QuestPDF 是一個開源 .NET 庫,用於生成 PDF 文檔。使用了C# Fluent API方式可簡化開發、減少錯誤並提高工作效率。利用它可以輕鬆生成 PDF 報告、發票、導出文件等。 項目介紹 QuestPDF 是一個革命性的開源 .NET 庫,它徹底改變了我們生成 PDF 文檔的方 ...
  • 項目地址 項目後端地址: https://github.com/ZyPLJ/ZYTteeHole 項目前端頁面地址: ZyPLJ/TreeHoleVue (github.com) https://github.com/ZyPLJ/TreeHoleVue 目前項目測試訪問地址: http://tree ...
  • 話不多說,直接開乾 一.下載 1.官方鏈接下載: https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads 2.在下載目錄中找到下麵這個小的安裝包 SQL2022-SSEI-Dev.exe,運行開始下載SQL server; 二. ...
  • 前言 隨著物聯網(IoT)技術的迅猛發展,MQTT(消息隊列遙測傳輸)協議憑藉其輕量級和高效性,已成為眾多物聯網應用的首選通信標準。 MQTTnet 作為一個高性能的 .NET 開源庫,為 .NET 平臺上的 MQTT 客戶端與伺服器開發提供了強大的支持。 本文將全面介紹 MQTTnet 的核心功能 ...
  • Serilog支持多種接收器用於日誌存儲,增強器用於添加屬性,LogContext管理動態屬性,支持多種輸出格式包括純文本、JSON及ExpressionTemplate。還提供了自定義格式化選項,適用於不同需求。 ...
  • 目錄簡介獲取 HTML 文檔解析 HTML 文檔測試參考文章 簡介 動態內容網站使用 JavaScript 腳本動態檢索和渲染數據,爬取信息時需要模擬瀏覽器行為,否則獲取到的源碼基本是空的。 本文使用的爬取步驟如下: 使用 Selenium 獲取渲染後的 HTML 文檔 使用 HtmlAgility ...
  • 1.前言 什麼是熱更新 游戲或者軟體更新時,無需重新下載客戶端進行安裝,而是在應用程式啟動的情況下,在內部進行資源或者代碼更新 Unity目前常用熱更新解決方案 HybridCLR,Xlua,ILRuntime等 Unity目前常用資源管理解決方案 AssetBundles,Addressable, ...
  • 本文章主要是在C# ASP.NET Core Web API框架實現向手機發送驗證碼簡訊功能。這裡我選擇是一個互億無線簡訊驗證碼平臺,其實像阿裡雲,騰訊雲上面也可以。 首先我們先去 互億無線 https://www.ihuyi.com/api/sms.html 去註冊一個賬號 註冊完成賬號後,它會送 ...
  • 通過以下方式可以高效,並保證數據同步的可靠性 1.API設計 使用RESTful設計,確保API端點明確,並使用適當的HTTP方法(如POST用於創建,PUT用於更新)。 設計清晰的請求和響應模型,以確保客戶端能夠理解預期格式。 2.數據驗證 在伺服器端進行嚴格的數據驗證,確保接收到的數據符合預期格 ...