-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael West
committed
May 31, 2018
1 parent
d8b67bd
commit 20c2acb
Showing
7 changed files
with
502 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
westco-spe-pullupfields | ||
# Pull Up Fields for SPE | ||
|
||
## Getting Started | ||
|
||
* Ensure that Sitecore PowerShell Extensions 4.7 or later is installed. | ||
* Install the Pull Up Fields package found in the repo. | ||
|
||
## Using the Module | ||
|
||
The module provides a context menu for manipulating the template fields. | ||
|
||
### Context Menu | ||
|
||
![image](https://user-images.githubusercontent.com/933163/40794268-47aa4fc4-64c4-11e8-952e-4b7c68cf20ed.png) | ||
|
||
#### Pull Up Dialog | ||
|
||
![image](https://user-images.githubusercontent.com/933163/40794327-7416126e-64c4-11e8-8de7-bbd35d64bdcd.png) | ||
|
||
## Credit | ||
|
||
I found inspiration for this from Mike Reynolds. Check out his post [here](https://sitecorejunkie.com/2013/04/04/reuse-sitecore-data-template-fields-by-pulling-them-up-into-a-base-template/). |
45 changes: 45 additions & 0 deletions
45
app/src/Serialization/master/sitecore/system/Modules/PowerShell/Script Library/Westco.item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
----item---- | ||
version: 1 | ||
id: {A0F4DB69-0C4B-4A1F-A144-45215A48F37F} | ||
database: master | ||
path: /sitecore/system/Modules/PowerShell/Script Library/Westco | ||
parent: {A3572733-5062-43E9-A447-54698BC1C637} | ||
name: Westco | ||
master: {00000000-0000-0000-0000-000000000000} | ||
template: {B6A55AC6-A602-4C09-AC3A-1D2938621D5B} | ||
templatekey: PowerShell Script Module Folder | ||
created: 20180522T143925Z | ||
|
||
----version---- | ||
language: en | ||
version: 1 | ||
revision: fc967a34-c2f5-451f-a8ba-76df44706900 | ||
|
||
----field---- | ||
field: {25BED78C-4957-4165-998A-CA1B52F67497} | ||
name: __Created | ||
key: __created | ||
content-length: 16 | ||
|
||
20180522T143926Z | ||
----field---- | ||
field: {8CDC337E-A112-42FB-BBB4-4143751E123F} | ||
name: __Revision | ||
key: __revision | ||
content-length: 36 | ||
|
||
fc967a34-c2f5-451f-a8ba-76df44706900 | ||
----field---- | ||
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522} | ||
name: __Updated | ||
key: __updated | ||
content-length: 16 | ||
|
||
20180522T143926Z | ||
----field---- | ||
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A} | ||
name: __Updated by | ||
key: __updated by | ||
content-length: 14 | ||
|
||
sitecore\admin |
66 changes: 66 additions & 0 deletions
66
...ation/master/sitecore/system/Modules/PowerShell/Script Library/Westco/Pull Up Fields.item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
----item---- | ||
version: 1 | ||
id: {0331840E-E505-4B5F-A8A7-22735B3E5E20} | ||
database: master | ||
path: /sitecore/system/Modules/PowerShell/Script Library/Westco/Pull Up Fields | ||
parent: {A0F4DB69-0C4B-4A1F-A144-45215A48F37F} | ||
name: Pull Up Fields | ||
master: {00000000-0000-0000-0000-000000000000} | ||
template: {6D82FCD8-C379-443C-97A9-C6423C71E7D5} | ||
templatekey: PowerShell Script Module | ||
created: 20180530T130731Z | ||
|
||
----field---- | ||
field: {218CA464-CB77-4C97-B141-34871ECAE00B} | ||
name: Enabled | ||
key: enabled | ||
content-length: 1 | ||
|
||
1 | ||
----field---- | ||
field: {06D5295C-ED2F-4A54-9BF2-26228D113318} | ||
name: __Icon | ||
key: __icon | ||
content-length: 27 | ||
|
||
Software/32x32/jar_bean.png | ||
----version---- | ||
language: en | ||
version: 1 | ||
revision: 43272b9d-53c9-4e74-9413-e6144e3543da | ||
|
||
----field---- | ||
field: {52807595-0F8F-4B20-8D2A-CB71D28C6103} | ||
name: __Owner | ||
key: __owner | ||
content-length: 14 | ||
|
||
sitecore\admin | ||
----field---- | ||
field: {25BED78C-4957-4165-998A-CA1B52F67497} | ||
name: __Created | ||
key: __created | ||
content-length: 16 | ||
|
||
20180530T130732Z | ||
----field---- | ||
field: {8CDC337E-A112-42FB-BBB4-4143751E123F} | ||
name: __Revision | ||
key: __revision | ||
content-length: 36 | ||
|
||
43272b9d-53c9-4e74-9413-e6144e3543da | ||
----field---- | ||
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522} | ||
name: __Updated | ||
key: __updated | ||
content-length: 16 | ||
|
||
20180530T130732Z | ||
----field---- | ||
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A} | ||
name: __Updated by | ||
key: __updated by | ||
content-length: 14 | ||
|
||
sitecore\admin |
52 changes: 52 additions & 0 deletions
52
...tecore/system/Modules/PowerShell/Script Library/Westco/Pull Up Fields/Content Editor.item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
----item---- | ||
version: 1 | ||
id: {72308695-F316-45EE-96BC-E76736B19A7A} | ||
database: master | ||
path: /sitecore/system/Modules/PowerShell/Script Library/Westco/Pull Up Fields/Content Editor | ||
parent: {0331840E-E505-4B5F-A8A7-22735B3E5E20} | ||
name: Content Editor | ||
master: {00000000-0000-0000-0000-000000000000} | ||
template: {AB154D3D-1126-4AB4-AC21-8B86E6BD70EA} | ||
templatekey: PowerShell Script Library | ||
created: 20180530T130733Z | ||
|
||
----version---- | ||
language: en | ||
version: 1 | ||
revision: 33ad101f-32fb-44b4-b38b-1acb5d798e9e | ||
|
||
----field---- | ||
field: {52807595-0F8F-4B20-8D2A-CB71D28C6103} | ||
name: __Owner | ||
key: __owner | ||
content-length: 14 | ||
|
||
sitecore\admin | ||
----field---- | ||
field: {25BED78C-4957-4165-998A-CA1B52F67497} | ||
name: __Created | ||
key: __created | ||
content-length: 16 | ||
|
||
20180530T130733Z | ||
----field---- | ||
field: {8CDC337E-A112-42FB-BBB4-4143751E123F} | ||
name: __Revision | ||
key: __revision | ||
content-length: 36 | ||
|
||
33ad101f-32fb-44b4-b38b-1acb5d798e9e | ||
----field---- | ||
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522} | ||
name: __Updated | ||
key: __updated | ||
content-length: 16 | ||
|
||
20180530T130733Z | ||
----field---- | ||
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A} | ||
name: __Updated by | ||
key: __updated by | ||
content-length: 14 | ||
|
||
sitecore\admin |
52 changes: 52 additions & 0 deletions
52
.../Modules/PowerShell/Script Library/Westco/Pull Up Fields/Content Editor/Context Menu.item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
----item---- | ||
version: 1 | ||
id: {430EF168-D213-4539-A603-95128C4C6F1A} | ||
database: master | ||
path: /sitecore/system/Modules/PowerShell/Script Library/Westco/Pull Up Fields/Content Editor/Context Menu | ||
parent: {72308695-F316-45EE-96BC-E76736B19A7A} | ||
name: Context Menu | ||
master: {00000000-0000-0000-0000-000000000000} | ||
template: {AB154D3D-1126-4AB4-AC21-8B86E6BD70EA} | ||
templatekey: PowerShell Script Library | ||
created: 20180530T130733Z | ||
|
||
----version---- | ||
language: en | ||
version: 1 | ||
revision: be2b090b-0734-494a-b02d-60b1a32486bc | ||
|
||
----field---- | ||
field: {52807595-0F8F-4B20-8D2A-CB71D28C6103} | ||
name: __Owner | ||
key: __owner | ||
content-length: 14 | ||
|
||
sitecore\admin | ||
----field---- | ||
field: {25BED78C-4957-4165-998A-CA1B52F67497} | ||
name: __Created | ||
key: __created | ||
content-length: 16 | ||
|
||
20180530T130734Z | ||
----field---- | ||
field: {8CDC337E-A112-42FB-BBB4-4143751E123F} | ||
name: __Revision | ||
key: __revision | ||
content-length: 36 | ||
|
||
be2b090b-0734-494a-b02d-60b1a32486bc | ||
----field---- | ||
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522} | ||
name: __Updated | ||
key: __updated | ||
content-length: 16 | ||
|
||
20180530T130734Z | ||
----field---- | ||
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A} | ||
name: __Updated by | ||
key: __updated by | ||
content-length: 14 | ||
|
||
sitecore\admin |
78 changes: 78 additions & 0 deletions
78
...hell/Script Library/Westco/Pull Up Fields/Content Editor/Context Menu/Pull Up Fields.item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
----item---- | ||
version: 1 | ||
id: {4A7C3509-409C-469E-96D9-05EA88A7C282} | ||
database: master | ||
path: /sitecore/system/Modules/PowerShell/Script Library/Westco/Pull Up Fields/Content Editor/Context Menu/Pull Up Fields | ||
parent: {430EF168-D213-4539-A603-95128C4C6F1A} | ||
name: Pull Up Fields | ||
master: {00000000-0000-0000-0000-000000000000} | ||
template: {AB154D3D-1126-4AB4-AC21-8B86E6BD70EA} | ||
templatekey: PowerShell Script Library | ||
created: 20180530T130834Z | ||
|
||
----field---- | ||
field: {613D128B-7BF2-40F4-84CB-6717408F9806} | ||
name: ShowRule | ||
key: showrule | ||
content-length: 791 | ||
|
||
<ruleset> | ||
<rule uid="{E1681529-FFE7-4171-8306-2E18666D8971}"> | ||
<conditions> | ||
<and uid="82592906077D40ABB22BD30E27803A60"> | ||
<condition id="{7D5DA661-BEF9-441C-B1F7-D80DE3E0972F}" uid="ACE813BAEDE74CE19B1E712358D064A3" itemid="{3C1715FE-6A13-4FCF-845F-DE308BA9741D}" /> | ||
<and uid="3DDA85CBA72646098F929E0479E2C955"> | ||
<condition id="{4F5389E9-79B7-4FE1-A43A-EEA4ECD19C94}" uid="B5A3D4F0931545C98AF20472C6174F31" operatorid="{A6AC5A6B-F409-48B0-ACE7-C3E8C5EC6406}" value="{1930BBEB-7805-471A-A3BE-4858AC7CF696}" /> | ||
<condition id="{7D5DA661-BEF9-441C-B1F7-D80DE3E0972F}" uid="EE4DAB65D77A4136A44CE79983FA1167" except="true" itemid="{4BF98EF5-1D09-4DD1-9AFE-795F9829FD44}" /> | ||
</and> | ||
</and> | ||
</conditions> | ||
</rule> | ||
</ruleset> | ||
----field---- | ||
field: {06D5295C-ED2F-4A54-9BF2-26228D113318} | ||
name: __Icon | ||
key: __icon | ||
content-length: 25 | ||
|
||
Office/32x32/dumbbell.png | ||
----version---- | ||
language: en | ||
version: 1 | ||
revision: 8386fabf-ebcd-4348-b845-86a484940b23 | ||
|
||
----field---- | ||
field: {52807595-0F8F-4B20-8D2A-CB71D28C6103} | ||
name: __Owner | ||
key: __owner | ||
content-length: 14 | ||
|
||
sitecore\admin | ||
----field---- | ||
field: {25BED78C-4957-4165-998A-CA1B52F67497} | ||
name: __Created | ||
key: __created | ||
content-length: 16 | ||
|
||
20180530T130835Z | ||
----field---- | ||
field: {8CDC337E-A112-42FB-BBB4-4143751E123F} | ||
name: __Revision | ||
key: __revision | ||
content-length: 36 | ||
|
||
8386fabf-ebcd-4348-b845-86a484940b23 | ||
----field---- | ||
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522} | ||
name: __Updated | ||
key: __updated | ||
content-length: 16 | ||
|
||
20180531T155049Z | ||
----field---- | ||
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A} | ||
name: __Updated by | ||
key: __updated by | ||
content-length: 14 | ||
|
||
sitecore\admin |
Oops, something went wrong.