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.
Works for all versions of Aras Innovator.
Installation
Install Steps
-
Download the aras-homepage project.
-
Copy the
home
folder from the project and paste it intoC:\inetpub\wwwroot
on the server. -
Open
home\default.aspx
for editing. -
Set the server name in the nav bar.
<!-- Navbar content --> <a class="navbar-brand" href="#">SERVER NAME</a>
-
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";
-
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");
-
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/.
-
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/";
-
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/";
-
Save the
default.aspx
file.
Usage
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- 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.