SAP Portal 上传资源到WRR

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 .

原文地址:https://www.cnblogs.com/robinNing/p/10880028.html

时间: 2024-08-29 01:10:21

SAP Portal 上传资源到WRR的相关文章

第三百八十七节,Django+Xadmin打造上线标准的在线教育平台—网站上传资源的配置与显示

第三百八十七节,Django+Xadmin打造上线标准的在线教育平台-网站上传资源的配置与显示 首先了解一下static静态文件与上传资源的区别,static静态文件里面一般防止的我们网站样式的文件,包括ccs,js,网站样式图片 上传资源是用户操作上传的图片等资源 上传资源的配置 1,首先在项目里创建一个名称叫media的文件夹专门保存用户上传 2,settings.py文件配置上传资源的路径 # 上传资源路径,如果图片,上传文件等 MEDIA_URL = '/media/' # 设置上传资源

如何使用电骡eMule上传资源

1 在电脑中创建一个文件夹专门为上传资源使用 在里面放入任意文件并右击显示ED2K链接 ? 链接效果如下 2 登陆verycd网站,并点击上传资源 复制ED2K地址并选择分类 ?

使用HTML5实现扫描PC二维码且触发WAP端上传资源功能

讲解一篇Java代码根据参数动态生成PC二维码效果,且成功扫描并上传图形或视频资源的功能. 技术难度一般,关键在于如何把一整套逻辑思路整合到项目上,如果调用,应该到哪些技术,理清了交互关系,详细对于大家而言这就是一份入门级别的代码参考,以作提升. 粗略介绍一下应用到的技术问题,前端方法使用简单的html元素布局,生成<img>二维码即可,后端框架为SpringMVC,结构简单,查阅清晰,应用到的二维码Jar包为:qrcode_swetake.jar . 一.从前端开始入手,先构建页面布局确保能

ajaxFileUpload异步上传资源,onchange多次调用问题的解决方案

一.上传文件的做法 1 前端代码 <input id="myfiles" name="myfiles" type="file" onchange="upload();"/> <input type="button" name="btn_abc" onclick="document.getElementById('myfiles').click();"

【.NET】使用WebClient简单的远程上传资源

简介: 由于访问量开始增大,服务器宽带不够用,将访问流量和文件流量都压在同一台服务器,每天都会死一次半次,需要用上CDN,所以文件都需要远程上传到文件服务器,在写上代码,和找了些文章来总结一下,主要使用:WebClient 简单版的WebClient,属于System.Net,属于操作比较简单的请求类,默认是少了head,timeout属性,可以继承HttpWebRequest来实现. 还有其他请求类库,如:HttpWebRequest,HttpClient: 代码实现时,定义了3种情况,但最终

【UEditor】 UEditor整合项目上传资源到阿里云服务器

目录 关于此文 下载源码 JSP代码 Java代码 阿里云jar包引入配置 成功啦! 回到顶部 关于此文 项目中要实现编辑器生成带格式的html文档,存入模板,最后生成html的URL,所以选择了UEditor. UEditor是由百度WEB前端研发部开发的所见即所得的开源富文本编辑器,具有轻量.可定制.用户体验优秀等特点. 之前没有接触过编辑器,从头开始摸索.看API,看网上的例子.之前,用的是UMeditor,是UEditor的mini版本.用的人少,例子也少.让我很苦恼.之后又换回了完整版

关于csdn审核上传资源的效率问题,请官方给予解释!谢谢!

1.大文件分包上传!只通过一部分或者都不通过!导致的文件不可用问题. 2.文件上传的审核时间问题,请问下这边是人工审核,还是电脑审核.为什么慢的那么没有道理. 3.多次上传同一个文件,我的资源页里面不显示.也不提示,资源已经上传过了! 4.等等 希望官方给予解释!已经快要放弃csdn的感觉!是共享平台吗!还是以前那个大家的家园和学习园地吗!还能不能愉快的玩耍了. 致敬程序猿: 在那山的这边海的那边有一群程序员,他们老实又腼腆,他们聪明但没钱.他们一天到晚坐在那里熬夜写软件,如果饿了就咬一口方便面

Wordpress上传资源报HTTP错误

简述 在公司内部搭建内部视频学习网站,经过对比选择了wordpress进行站点搭建.但是在上传视频遭遇到了各种问题,特将此处理过程进行记录. 原因排查 1.上传一个十几兆mp4的文件上传进度到达百分之百,会媒体提示http错误 2.刚开始怀疑是PHP.Nginx的上传大小限制了.但是查看PHP.Nginx配置均配置了1000M vim /etc/nginx/conf.d/default.conf location / { root /data/web; index index.php index

asp.net core系列 69 Amazon S3 资源文件上传示例

原文:asp.net core系列 69 Amazon S3 资源文件上传示例 一.  上传示例 Amazon Simple Storage Service 是互联网存储解决方案.该服务旨在降低开发人员进行网络规模级计算的难度. Amazon S3 提供了一个简单 Web 服务接口,可用于随时在 Web 上的任何位置存储和检索任何数量的数据.此服务让所有开发人员都能访问同一个具备高扩展性.可靠性.安全性和快速价廉的数据存储基础设施, Amazon 用它来运行其全球的网站网络.此服务旨在为开发人员