Book Image

Pentaho Business Analytics Cookbook

By : Sergio Ramazzina
Book Image

Pentaho Business Analytics Cookbook

By: Sergio Ramazzina

Overview of this book

<p>Pentaho Business Analytics 5 is a complete open source business intelligence suite, providing data integration, OLAP, reporting, data visualization, and data mining features.&nbsp; Pentaho Business Analytics Cookbook provides you with a valuable and detailed set of recipes that illustrate all the features of Pentaho Business Analytics 5, the new version of the popular BI platform. The book provides clear illustrations and simple examples, helping you learn the core topics visually.</p>
Table of Contents (19 chapters)
Pentaho Business Analytics Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Renaming a file in a folder


We just saw how we can rename a folder in the solution; let me show you how we can rename a file in a solution's folder.

Getting ready

For this recipe, it is important that we use an administrator role's user to be able to freely rename a file in a public folder's folder. If the user we are using to access Pentaho is a normal user, they can only rename files in their home directory folders, or they must be owner of the parent folder under which they want to rename the existing files.

How to do it...

The following steps describe how we can easily assign or change permissions to folders in the Pentaho solution:

  1. Go to the solution explorer and browse the solution's folder structure for the folder that contains the file we want to rename.

  2. Select the folder by clicking on it.

  3. As shown in the following screenshot that shows us the flow of actions, select the file to be renamed, and then from the File Actions menu, select Rename File….

  4. A warning dialog box appears warning us that after renaming the content item, any other content that refers to the file that we are renaming may no longer work.

  5. By clicking on the Yes, Rename button, the system displays the Rename dialog box. By clicking on No, the rename operation gets terminated and we will be taken back to the Browse Files perspective.

  6. Type in the new file's name and click on OK to confirm.

  7. The file we just renamed is immediately displayed with its new name in solution explorer.

How it works…

Renaming a file in the Pentaho solution is a very easy thing. Just go through the solution's folders by looking for the content item file we want to rename. Select the content item from the Files Action menu, click on Rename, and set the new name for our content item file. Remember that renaming it can break the functionality of other content item files if the files link this file during their execution.