Code Monkey home page Code Monkey logo

hide-tabs's Introduction

Hide Tabs on an Aras Form

This project demonstrates how to hide specific tabs on a tear-off form. For this sample code, we hide the BOM and BOM Structure tabs on the OOTB Aras Part form.

The sample code provided in this project will hide the relationship tabs for only one form. If your use case requires that you hide relationship tabs for any form of a given ItemType, you can follow the approach in our Hide Tabs By Identity community project.

History

Release Notes
v3.0.0 Validated for 12.0 and 12.0 SP1
v2.0.2 Updating README from old format. Validated for SP12 and SP15.
v2.0.1 Fixed release links in project readme and updated test status.
v2.0 Project updated for the Aras 11 SP9 tabbed client.
v1.0 Initial release based on a legacy community project.

Supported Aras Versions

Project Aras
v3.0.0 12.0, 12.0 SP1
v2.0.2 11 SP9, 11SP12, 11SP15
v2.0.1 11 SP9, 11SP12, 11SP15
v2.0 11 SP9
v1.0 11 SP7, 11 SP5

Installation

Important!

Always back up your code tree and database before applying an import package or code tree patch!

Pre-requisites

  1. Aras Innovator installed (version 12.0 SPx preferred)
  2. Aras Package Import tool
  3. labs_HideTabs import package

Install Steps

  1. Backup your database and store the BAK file in a safe place.
  2. Open up the Aras Package Import tool.
  3. Enter your login credentials and click Login
    • Note: You must login as root for the package import to succeed!
  4. Enter the package name in the TargetRelease field.
    • Optional: Enter a description in the Description field.
  5. Enter the path to your local ..\HideTabs\Import\imports.mf file in the Manifest File field.
  6. Select aras.labs.HideTabs in the Available for Import field.
  7. Select Type = Merge and Mode = Thorough Mode.
  8. Click Import in the top left corner.
  9. Close the Aras Package Import tool.

Usage

  1. Log in to Aras as a user with permission to view Parts - i.e. 'admin'.
  2. Select Design > Parts in the Table of Contents (TOC).
  3. Open up any Part item for viewing.

The BOM and BOM Structure tabs will be hidden from the form. The first relationship tab that appears will be the 'Alternates' tab.

Hidden Tabs Example

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

For more information on contributing to this project, another Aras Labs project, or any Aras Community project, shoot us an email at [email protected].

Credits

Original code written by Aras Support.

Documented and published by Eli Donahue for Aras Labs. @EliJDonahue

License

Aras Labs projects are published to Github under the MIT license. See the LICENSE file for license rights and limitations.

hide-tabs's People

Contributors

cgillis-aras avatar elijdonahue avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hide-tabs's Issues

[IDEA] Update project to use CUI

Challenge / Pain Point

Is your feature request related to a problem? Please describe.
It would be great if this project could provide an example of how admins can show/hide tabs using CUI. This is the preferred approach in Aras Innovator 12.0.

Proposed Solution

Describe the solution you'd like.
Create a CUI element that hides the desired tab according to the specified criteria.

Additional Details

Add any other screenshots, mockups, or context about the feature request here.

Collaboration

Are you willing to collaborate on this feature? Ex: sharing code, submitting a pull request, testing, etc.
I can offer input or feedback if someone gets stuck working on this. Just let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.