Skip to content

ArasLabs/aras-homepage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Aras Homepage

This project sets up a "homepage" that lists the Aras Innovator instances installed on a server. The list contains links to each instance's login page and Nash page. The homepage acts as a directory for easy access to your Aras Innovator installations.

History

Release Notes
v1.0.0 First release. Tested on Internet Explorer, Edge, Firefox, Chrome.

Supported Aras Versions

Project Aras
v1.0.0 All Aras Versions

Installation

Install Steps

  1. Download the aras-homepage project.

  2. Copy the home folder from the project and paste it into C:\inetpub\wwwroot on the server.

  3. Open home\default.aspx for editing.

  4. Set the server name in the nav bar.

    <!-- Navbar content -->
    <a class="navbar-brand" href="#">SERVER NAME</a> 
    
  5. Set the root variable to the folder where your Aras instances are installed.

    // path where Innovator instances are installed
    string root = "C:\\Program Files (x86)\\Aras";
    
  6. If there are any subfolders you don't want listed in the table, add them to the skip list.

    // create a list of folder names you don't want listed
    List<string> skip = new List<string>();
    skip.Add("Aras Update");
    
  7. If you want to customize the background style, you can choose or edit a stylesheet.

    <!-- 
    choose or customize a stylesheet to style the page background 
    find stylesheets in home/css/
    -->
    <link rel="stylesheet" type="text/css" href="css/blue-purple.css">
    <!-- <link rel="stylesheet" type="text/css" href="css/blue-green.css"> -->
    <!-- <link rel="stylesheet" type="text/css" href="css/photo.css"> -->
    

    Tip: Here's a great site with a gallery of color gradients: https://uigradients.com/.

  8. If you want to show custom links in the navigation bar, you can add them to the links Dictionary.

    // create a dictionary of links you want to show in the nav bar
    Dictionary<string,string> links = new Dictionary<string,string>();
    links["MyInnovator"] = "https://MyInnovator.com/";
    
  9. If you have links you want to show in a dropdown list from the navigation bar, you can add them to the links_2 Dictionary.

    // create a dictionary of links you want to show in the dropdown list
    Dictionary<string,string> links_2 = new Dictionary<string,string>();
    links_2["Aras Roadmap"] = "https://www.aras.com/plm-roadmap/";
    
  10. Save the default.aspx file.

Usage

Screenshot Screenshot demonstrates different custom styles. Project does not automatically rotate stylesheets.

Open your browser to http://servername/home. Bookmark the url or make it your browser homepage for easy access to your server's Innovator instances.

Note: The Login as Admin link only works for systems configured for Windows Authentication. For all other systems, it will just bring up the login page.

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 araslabs@aras.com.

Credits

Created by Eli Donahue.

Project inspired by George J. Carrette.

Table style is based on this template.

Background photos are sourced from UnSplash.

License

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