2014-05-15 2 views
0

폴더를 Pentaho 5.0.1 CE의 \pentaho-solutions에 추가 한 후 브라우저에 표시되게하려면 어떻게해야합니까? 읽은 문서가이 새 버전에서 작동하지 않는 것 같습니다.Pentaho 5.0.1 CE pentaho-solutions 디렉토리에 폴더 추가

1. Create a new directory in /pentaho/server/biserver-ee/pentaho-solutions/. 
Use underscores instead of spaces in the solution directory name. Ensure that the directory has the appropriate user 
and group ownership to be writable from the BI Platform. 
2. Using an XML-aware text editor (or Design Studio), create a file named index.xmlin your new solution directory. 
3. Copy the following text into the index.xml file, changing the content accordingly: 
***<index> 
<name>Example Solution</name> 
<description>This solution contains examples I created while learning to 
work with action sequences.</description> 
<icon></icon> 
<visible>true</visible> 
<display-type>icons</display-type> 
</index>*** 
4. Save the file and close the text editor. 
5. Log into the Pentaho User Console as an administrator. 
6. Refresh the solution repository cache by going to the Toolsmenu, then selecting the Refreshsubmenu, then 
clicking on Repository Cache. 
You now have a new solution directory. It will show up in all file dialogues in the Pentaho User Console as well as the 
Solution Browser in the left pane. 
Every time you add or edit an action sequence to your solution directory, you must refresh the repository cache as 
explained above. Each user currently logged into the Pentaho User Console must also refresh their session cache; this 
is best done by re-logging into the Pentaho User Console. 

나는 펜타 호 디자인 스튜디오를 사용하여 반응 시퀀스 스크립트를 개발 중입니다. 샘플 xaction이

Sorry. We really did try. 
Something went wrong. Please try again 
or contact your administrator. 

와 내가 파일 경로에 지정된대로 내가 디자인 내에서 URL을 생성 할 때 펜타이 xaction 파일을 찾을 수 없기 때문에 이것이 내기 실패 실행

1. In Design Studio, go to the Filemenu, then select New, and click on Other...in the sub-menu. 
The Newwindow will appear. 
2. In the Newwindow, click the triangle next to Pentaho, select New Action Sequence Wizard, then click Next. 
3. In the File namefield, type hello_world.xaction. 
4. Select Hello Worldfrom the Templatedrop-down box, then click Finish. 
The wizard will generate the new file and bring you back to the workbench. 
5. Click on HelloWorldComponentin the Process Actionssection on the left. 
The right side of the screen will change to show the options available for this action: Nameand Message. The 
Name field controls the name of the component in the Process Actions list on the left; it doesn't do anything else of 
note. The Message field contains the text that will appear on the screen when the action sequence is run. It is prepopulated with %quote, which is a token that represents a quote message in a nonexistent properties file. Pentaho 
used to provide properties files for each example, but they have been removed from the standard Pentaho Business 
Analytics distribution. 
6. Replace the %quotewith a sufficiently inspiring message. 
Alternatively, you could create a hello_world.propertiesfile and populate it with the appropriate messages and 
tokens, but that has no advantage unless you intend to internationalize this action sequence. 
7. Save the file. 
You now have a working action sequence that prints a short text message: "Hello, World." plus whatever you typed into 
the Message field. The first part of the message is determined by a message bundle packaged with the Pentaho Web 
application archive. 

To test the action sequence, use the Test tab if you are on Windows or OS X, or log into the Pentaho User Console and 
run it from the Solution Browser. 

:이 절차를 따라 사진관. 솔루션 디렉토리에서 만든 폴더는 캐시를 새로 고침 함에도 불구하고 브라우저 디렉토리 목록에 표시되지 않습니다. 어떤 도움이 필요합니까?

답변

3

버전 5에서는 파일 및 폴더가 더 이상 "/ pentaho/server/biserver-ee/pentaho-solutions/..."에 저장되지 않습니다. 이제 jackrabbit 저장소에 저장됩니다.

사용자 콘솔에서 폴더를 만들고 파일을 업로드 할 수 있습니다.

+0

제한된 기능에도 불구하고 재미있는 플러그인 인 Pentaho Repository Synchronizer가 있습니다.이 플러그인은 많은 파일 모음의 업로드/다운로드 프로세스에 최소한 도움이됩니다. – nsousa

+0

기본적으로 certaing mime-types만이 Pentaho User Console에서 업로드 할 수 있습니다. 솔루션 (https://stackoverflow.com/a/48269783/3957754) – JRichardsz

0

biserver 5.2를 시작한 후에 실수를했습니다. 예기치 않게 jackrabbit을 구성한 후 공용 폴더를 삭제했습니다. 이제 공용 폴더와 홈 폴더를 볼 수 있도록 폴더를 만드는 방법.

-1

잠시 후이 질문으로 돌아 가셔서 죄송합니다. 누군가가 Pentaho 리포지토리 관리와 관련된 무언가를 성공적으로 검색 할 경우,이 정보가 도움이되기를 바랍니다.

그냥 명확하게하기 위해 버전 5.2.x를 사용하고 있습니다. 파일 찾아보기 화면의 루트 디렉토리에 새 폴더를 만들고 싶습니다. Pentaho5 CE 웹 콘솔에서는 허용되지 않습니다. .

JackRabbit을 기반으로하는 저장소 관리에 대한 답변이 정확하므로 새로운 "솔루션"폴더를 구성하는 데 사용한 기존 방법이 더 이상 작동하지 않습니다. 버전 5부터 Pentaho는 웹 콘솔에서 허용되지 않는 작업을 수행 할 수있는 흥미로운 REST API를 제공합니다.

예를 들어, 루트 디렉토리에 폴더를 만들려면 다음 URL을 사용하여 Pentaho Server (curl 또는 Google 크롬을 사용하는 경우, Advanced Rest Client와 같은 도구 사용)에 대한 http REST PUT 요청을 만들어야합니다 : http://localhost:8080/pentaho/api/repo/dirs/:new_directory_name?userid=admin&password=password

펜타 저장소 디렉토리 REST API는 여기에 설명되어 있습니다 : http://javadoc.pentaho.com/bi-platform500/webservice500/resource_DirectoryResource.html

은 REST API를에게 문서를 읽는 시간을 보내고 가치입니다.

관련 문제