Skip to content

Commit

Permalink
Merge pull request #9 from sampoearas/master
Browse files Browse the repository at this point in the history
Update for v12
  • Loading branch information
sampoearas committed Jul 31, 2019
2 parents 156c2c1 + 23495e1 commit e1dbd67
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ Demonstrates two ways to style the form of a non-current version of an item.

Release | Notes
--------|--------
[v1.1.0](https://github.com/ArasLabs/style-non-current-items/releases/tag/v1.1.0) | Updated code for new part bug; verified on 12.0
[v1.0.1](https://github.com/ArasLabs/style-non-current-items/releases/tag/v1.0.1) | Tested 11.0 SP12, SP15. Tested on Edge, Firefox 60 ESR, Chrome.
[v1.0.0](https://github.com/ArasLabs/style-non-current-items/releases/tag/v1.0.0) | First release. Tested on Internet Explorer 11, Firefox 38 ESR, Chrome. Though built and tested using Aras 11.0 SP7, this project should function in older releases of Aras 11.0 and Aras 10.0.

#### Supported Aras Versions

Project | Aras
--------|------
[v1.1.0](https://github.com/ArasLabs/style-non-current-items/releases/tag/v1.1.0) | 10.0+, 11.0+, 12.0+
[v1.0.1](https://github.com/ArasLabs/style-non-current-items/releases/tag/v1.0.1) | 10.0 SPx, 11.0 SP7+, 11.0 SP12+, 11.0 SP15
[v1.0.0](https://github.com/ArasLabs/style-non-current-items/releases/tag/v1.0.0) | 10.0 SPx, 11.0 SP7; Old Community Board Migration

> Though built and tested using Aras 11.0 SP7, this project should function in older releases of Aras 11.0 and Aras 10.0.
## How It Works

The project's import package includes two methods - `labs_StyleNonCurrent` and `labs_NonCurrentOverlay`. Both use the same basic logic to determine whether the context item is the current version.
Expand All @@ -37,7 +37,7 @@ First we check whether the context item includes the `is_current` property. If s

### Pre-requisites

1. Aras Innovator installed (version 11.0 SPx preferred)
1. Aras Innovator installed (current released version preferred)
2. Aras Package Import tool
3. StyleNonCurrentItems import package
4. StyleNonCurrentItems code tree overlay
Expand Down Expand Up @@ -66,7 +66,7 @@ You are now ready to login to Aras and check out the examples for customizing no

### Change the Background Color

![Custom Background Color](./Screenshots/bg-color.gif)
![Custom Background Color](./Screenshots/color_bkg-sbs.png)

1. Log in to Aras as admin.
2. Click **Administration > Forms** and search for the Part form.
Expand All @@ -76,14 +76,15 @@ You are now ready to login to Aras and check out the examples for customizing no
6. Save the form.
7. Click **Design > Parts** in the table of contents (TOC).
8. Open an existing Part with previous versions (generation > 1).
9. On the Part form, click **View > Revisions**.
9. On the Part form, click **Navigate > Revisions**. (v12)
- On the Part form, click **View > Revisions**. (v11)
10. In the resulting dialog, double-click one of the previous generations of the Part.

The Part form that appears will have a grey background. If you would like to change the color or style applied to non-current items, you can edit the `labs_StyleNonCurrent` method.

### Display a Watermark Image

![Watermark Image](./Screenshots/overlay.gif)
![Watermark Image](./Screenshots/overlay-sbs.png)

1. Log in to Aras as admin.
2. Click **Administration > Forms** and search for the Part form.
Expand All @@ -94,7 +95,8 @@ The Part form that appears will have a grey background. If you would like to cha
7. Save the form.
8. Click **Design > Parts** in the table of contents (TOC).
9. Open an existing Part with previous versions (generation > 1).
10. On the Part form, click **View > Revisions**.
10. On the Part form, click **Navigate > Revisions**. (v12)
- On the Part form, click **View > Revisions**. (v11)
11. In the resulting dialog, double-click one of the previous generations of the Part.

The Part form that appears will have a watermark image that says "Non Current". If you would like to change the watermark image that is displayed:
Expand Down
Binary file removed Screenshots/bg-color.gif
Binary file not shown.
Binary file added Screenshots/color_bkg-sbs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Screenshots/colored_background.png
Binary file not shown.
Binary file added Screenshots/overlay-sbs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Screenshots/overlay.gif
Binary file not shown.
Binary file removed Screenshots/overlay.png
Binary file not shown.
Binary file removed Screenshots/revisions.png
Binary file not shown.
Binary file removed Screenshots/start.png
Binary file not shown.

0 comments on commit e1dbd67

Please sign in to comment.