Opening a sub-folder of a KM Repository via URL
Challenge:
Using a map as the preliminary interface (url iview) the user clicks a region of that map. A PORTAL PAGE is loaded (2 columns, narrow, wide)
In the WIDE column is the map the user originally used to select a region.
In the NARROW column is a KM Navigation iView
Currently the KM Nav default display is a listing of ALL REGIONS folders. Each folder has a number of sub-folders underneath specific to that region.
What I need:
I have the new PAGE loading properly with the 2-column display - what I need if for the KM Nav iView to initially display with the correct region's folder open and showing its sub-folders.
Example:
1. The map is a map of the United States
2. The user clicks Atlanta - (currently this generates the new display using ".../portal?NavigationTarget=ROLES:portal_content/..." passed in the URL to load the new portal page)
3. The page refreshes with a 2-column page displaying the map in the wide column and a KM Nav iView in the narrow column with all states represented and the ATLANTA folder initially open showing its sub-folders.
Since I am initially loading the new environment using ".../portal?NavigationTarget=ROLES:portal_content/..." when the user clicks a state on the map, can I add parameters to this URL to indicate to the KM NAV iView that a specific folder is to be initially displayed?
Thanks!
Tony Zerbolio
Tony,
just set your links to
/irj/portal/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/YOUR_REPOSITORY/YOUR_FOLDER
and this should do the trick.
Kind regards,
Dominik Witte
Similar Messages
-
With Mavericks I have to hold command key down and double click to get a sub folder to open in a new window. Can I go back to just double clicking ?
Of course. To do it, open a Finder window, go to Finder menu (on the menu bar) > Preferences > General, and untick "Open folders in tabs instead of new windows".
-
I have saved some of the related tabs in a common sub folder in the bookmarks list and whenever i have to open this tabs always i have to open them individually coz the 'open all in new tabs' option is not available for subfolder, so is there any command or click available from which i can directly open all the saved tabs of a subfolder simultaneously in one single attempt ? using vaio laptop, windows 7 basic, firefox version 6.0.2 !
yes i do that on my desktop but i dont have middle click option on laptop and even in the right click context the ''open all in tabs'' option is desplayed but is in light color i.e. not functional. Is this a problem with windows 7 or missing plugin or add on could help or extension of some sort ? please help !
-
How can I create a sub-folder within my "Documents" folder?
How can I create a sub-folder within my "Documents" folder? I have many similar documents that I want to group together. This will also un-clutter my Documents folder.
Also, you can add a New Folder button to the Finder's toolbar by opening Finder, going to the View menu in the menubar, selecting Customize Toolbar..., and dragging the New Folder icon to the toolbar in the Finder window. Then it's just one-click for new folders wherever you want them.
-
Unable to create a folder link to a folder located at filesystem repository
Hello,
I have created a File System repository manager which is working OK.
The problem is that when I try to created a link between a folder located inside the /documents repository to any folder located at the repository I defined I receive this error:
"The item could not be created because an exception occurred in the framework". I couldn't find any meaningful info at the defaultTrace.
Any ideas?Hi Roy,
(a) If you are (much) below SPS18, maybe try to upgrade.
(b) Double-check the default trace. It is not impossible, but at least unprobable that there is no info inside.
(c) If (a) and (b) don't help, open an OSS message...
Hope it helps
Detlev -
A bunch of my subfolders for sorting my email vanished, which was brought to my attention when TB tried to sort my mail and said that the subfolder did not exist. I re-created the subfolders with the same name as before and when I went into the new subfolder I was surprised to see that all the past email were in it. However, when I opened the e-mails the body of the emails were empty. (I even tried highlighting for white text as suggested on line, but nothing)
I used the "search emails "options to try and find them, using the title of the emails as the search parameter ie "Receipt for your PalPay payments" and the search results provided me with the results of all the missing emails with the full text of each e-mail. However, when I went into individual emails (or the open emails as list option) the text was still not there. It must be there somewhere since the search option is finding it.
I tried deleting the Profile (global-messages-db.sqlite) hoping that it would bring the text back but it didn't work. Most of the emails that are blank are of the financial nature and I would really like them back.
HELP!!!!!
Thank You, John Jaegerin he middle of the search results screen at the top is a show list option. (
hidden in plain sight) click it. in the list. right click the headings and select location. That will not find you mail as such. but it will give the folder the search is finding it in. If that name is what you expect, you have perhaps dragged the folder or folders to another location so they are a sub folder of another unrelated folder.
View Menu (Alt+V) > folders > all to ensure only real physical folders are visible, now you will need to expand each and every folder in the tree to locate your folders. -
Folder and Sub-Folder Batch load Script
What I'm looking for I'm not ever sure is possible, but what I need is a script that will search for predefined sub-folder names within a specific "root" folder and run a script I have to load those images into a Photoshop document found within the root folder. When loading these images, it will also need to place the images into a specific group within the Photoshop document, depending on the sub-folder that contained them. So images in the sub-folder "A" need to be loaded into the group "A" in the Photoshop document, images in sub-folder "B" into group "B" and so-on. The number and name of images within the sub-folders are, however, random; so this would also need to be accounted for. Additionally, if possible, I would like the script to ask the user to locate this root folder each time before proceeding; otherwise, if not possible, a static folder location can also be used. Thanks for any help!
dgolbergProfile-mismatches as in: When the container document and the image to be placed are of different Color Spaces (different ICC-profiles).
Could you give this a try (on a copy of your files naturally); it places as Smart Objects (depending on your Photoshop > Preferences > General settings), but you could always rasterize after the import or chenge the preference in the Scripts and reset it at the end:
// place png-files from a folder and its contained folders with groups to represent those in jpg-files;
// 2011, use it at your own risk;
#target photoshop
// select folder;
var theFolder = Folder.selectDialog ("select folder");
if (theFolder) {
// get the jpgs;
var theJpgs = getJpgFiles(theFolder);
// iterate through the jpg files;
for (var m = 0; m < theJpgs.length; m++) {
var theDoc = app.open(new File(theJpgs[m]));
// thanks to xbytor;
var theName = theDoc.name.match(/(.*)\.[^\.]+$/)[1];
// place the png-files in groups coresponding to the folders;
placeFolderFiles(theFolder, theDoc, theName)
////// ceck for jpgs //////
function checkJpg (theFile) {
if (theFile.name.match(/\.(jpg)$/i)) {
return true
////// ceck for pngs //////
function checkPng (theFile) {
if (theFile.name.match(/\.(png)$/i)) {
return true
////// place //////
function placeScaleFile (file, xOffset, yOffset, theScale) {
// =======================================================
var idPlc = charIDToTypeID( "Plc " );
var desc5 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
desc5.putPath( idnull, new File( file ) );
var idFTcs = charIDToTypeID( "FTcs" );
var idQCSt = charIDToTypeID( "QCSt" );
var idQcsa = charIDToTypeID( "Qcsa" );
desc5.putEnumerated( idFTcs, idQCSt, idQcsa );
var idOfst = charIDToTypeID( "Ofst" );
var desc6 = new ActionDescriptor();
var idHrzn = charIDToTypeID( "Hrzn" );
var idPxl = charIDToTypeID( "#Pxl" );
desc6.putUnitDouble( idHrzn, idPxl, xOffset );
var idVrtc = charIDToTypeID( "Vrtc" );
var idPxl = charIDToTypeID( "#Pxl" );
desc6.putUnitDouble( idVrtc, idPxl, yOffset );
var idOfst = charIDToTypeID( "Ofst" );
desc5.putObject( idOfst, idOfst, desc6 );
var idWdth = charIDToTypeID( "Wdth" );
var idPrc = charIDToTypeID( "#Prc" );
desc5.putUnitDouble( idWdth, idPrc, theScale );
var idHght = charIDToTypeID( "Hght" );
var idPrc = charIDToTypeID( "#Prc" );
desc5.putUnitDouble( idHght, idPrc, theScale );
var idLnkd = charIDToTypeID( "Lnkd" );
desc5.putBoolean( idLnkd, true );
executeAction( idPlc, desc5, DialogModes.NO );
return app.activeDocument.activeLayer;
////// place images in folder and contained folders //////
function placeFolderFiles (theFolder, theContainer, theName) {
var theContent = theFolder.getFiles();
for (var n = theContent.length - 1; n >= 0; n--) {
var theObject = theContent[n];
if (theObject.constructor.name == "Folder") {
var aFolder = theContainer.layerSets.add();
aFolder.name = Folder(theContent[n]).name;
placeFolderFiles(theObject, aFolder, theName)
if (checkPng(theObject) == true && theObject.name.match(theName)) {
var theLayer = placeScaleFile(theObject, 0, 0, 100);
theLayer.name = File(theObject).name;
theLayer.move(theContainer, ElementPlacement.PLACEATBEGINNING)
////// place images in folder and contained folders //////
function getJpgFiles (theFolder) {
if (!theArray) {var theArray = new Array};
var theContent = theFolder.getFiles();
for (var n = theContent.length - 1; n >= 0; n--) {
var theObject = theContent[n];
if (theObject.constructor.name == "Folder") {
theArray = theArray.concat(getJpgFiles(theObject))
if (checkJpg(theObject) == true) {
theArray.push(theObject)
return theArray -
Can't open my personal folder in Bridge
In the "favorite"-window, I can choose pictures of my personal-folder. But I have no chances to choose subfolders of it; neither in the "Favorite"-window nor in the "folder"-window.
When I choose the "desktop", I get a lock-sign at my personal-folder.
Does anybody know, how to open it?
Many thanks!biofromla wrote:
If I click on "pictures" in the favorite folder, I see all subfolders on the right side. But I don't get the directory tree. That means, that when I want to search for a picture and don't know in which subfolder it is, I can open a sub folderin the rightside, can click the back button and try the next subfolder.
The Favorites panel doesn't work that way – it doesn't offer the folder tree. The icons there are just links.
When you click on one of your links in Favorites, it highlights the appropriate folder in the Folders panel. This does display the folder structure with sub-folders.
You need to have the Folders panel open to see it. -
How to loop folder , sub folder and files in the sql server ?
Hi,
I have a folder , sub folder and files like this.
Here AuditSearchHistory fixed folder and contains 2 subfolders , but some times it may contain more sub folders also.
Please help me to loop the subfolders to get xls files in the sql without SSIS , Because I need to get just xls file paths.
Thank you.Please run these Macros in Excel.
Sub TestListFilesInFolder()
' Open folder selection
' Open folder selection
With Application.FileDialog(msoFileDialogFolderPicker)
.Title = "Select a Folder"
.AllowMultiSelect = False
If .Show <> -1 Then GoTo NextCode
pPath = .SelectedItems(1)
If Right(pPath, 1) <> "\" Then
pPath = pPath & "\"
End If
End With
NextCode: 'MsgBox "No files Selected!!"
'Application.WindowState = xlMinimized
'Application.ScreenUpdating = False
Workbooks.Add ' create a new workbook for the file list
' add headers
ActiveSheet.Name = "ListOfFiles"
With Range("A2")
.Formula = "Folder contents:"
.Font.Bold = True
.Font.Size = 12
End With
Range("A3").Formula = "File Name:"
Range("B3").Formula = "File Size:"
Range("C3").Formula = "File Type:"
Range("D3").Formula = "Date Created:"
Range("E3").Formula = "Date Last Accessed:"
Range("F3").Formula = "Date Last Modified:"
Range("A3:F3").Font.Bold = True
Worksheets("ListOfFiles").Range("A1").Value = pPath
Range("A1").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Selection.Font.Bold = True
ListFilesInFolder Worksheets("ListOfFiles").Range("A1").Value, True
' list all files included subfolders
Range("A3").Select
Lastrow = Range("A1048576").End(xlUp).Row
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Add Key:=Range( _
"B4:B" & Lastrow), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption:= _
xlSortNormal
With ActiveWorkbook.Worksheets("ListOfFiles").Sort
.SetRange Range("A3:F" & Lastrow)
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("A1").Select
Cells.Select
Cells.EntireColumn.AutoFit
Columns("A:A").Select
Selection.ColumnWidth = 100
Range("A1").Select
End Sub
Sub ListFilesInFolder(SourceFolderName As String, IncludeSubfolders As Boolean)
' lists information about the files in SourceFolder
Dim FSO As Scripting.FileSystemObject
Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
Dim FileItem As Scripting.File
Dim r As Long
Set FSO = New Scripting.FileSystemObject
Set SourceFolder = FSO.GetFolder(SourceFolderName)
r = Range("A1048576").End(xlUp).Row + 1
For Each FileItem In SourceFolder.Files
' display file properties
Cells(r, 1).Formula = FileItem.Path & FileItem.Name
Cells(r, 2).Formula = (FileItem.Size / 1048576)
Cells(r, 2).Value = Format(Cells(r, 2).Value, "##.##") & " MB"
Cells(r, 3).Formula = FileItem.Type
Cells(r, 4).Formula = FileItem.DateCreated
Cells(r, 5).Formula = FileItem.DateLastAccessed
Cells(r, 6).Formula = FileItem.DateLastModified
' use file methods (not proper in this example)
r = r + 1 ' next row number
Next FileItem
If IncludeSubfolders Then
For Each SubFolder In SourceFolder.SubFolders
ListFilesInFolder SubFolder.Path, True
Next SubFolder
End If
Columns("A:F").AutoFit
Set FileItem = Nothing
Set SourceFolder = Nothing
Set FSO = Nothing
ActiveWorkbook.Saved = True
End Sub
Or . . .
Option Explicit
Sub CreateList()
Application.ScreenUpdating = False
Workbooks.Add ' create a new workbook for the folder list
' add headers
ActiveSheet.Name = "ListOfFiles"
With Cells(3, 1)
.Value = "Folder contents:"
.Font.Bold = True
.Font.Size = 12
End With
Cells(4, 1).Value = "Folder Path:"
Cells(4, 2).Value = "Folder Name:"
Cells(4, 3).Value = "Folder Size:"
Cells(4, 4).Value = "# Subfolders:"
Cells(4, 5).Value = "# Files:"
Range("A3:E3").Font.Bold = True
ListFolders BrowseFolder, True
Application.ScreenUpdating = True
Cells.Select
Cells.EntireColumn.AutoFit
Columns("A:A").Select
Selection.ColumnWidth = 100
Columns("B:B").Select
Selection.ColumnWidth = 25
Range("A1").Select
End Sub
Sub ListFolders(SourceFolderName As String, IncludeSubfolders As Boolean)
' lists information about the folders in SourceFolder
Dim FSO As Scripting.FileSystemObject
Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
Dim r As Long
Set FSO = New Scripting.FileSystemObject
Set SourceFolder = FSO.GetFolder(SourceFolderName)
' display folder properties
Worksheets("ListOfFiles").Range("A1").Value = SourceFolderName
Range("A1").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Selection.Font.Bold = True
r = Cells(Rows.Count, 1).End(xlUp).Row + 1
Cells(r, 1).Value = SourceFolder.Path
Cells(r, 2).Value = SourceFolder.Name
Cells(r, 3).Value = SourceFolder.Size
Cells(r, 3).Value = (SourceFolder.Size / 1048576)
Cells(r, 3).Value = Format(Cells(r, 3).Value, "##.##") & " MB"
Cells(r, 4).Value = SourceFolder.SubFolders.Count
Cells(r, 5).Value = SourceFolder.Files.Count
If IncludeSubfolders Then
For Each SubFolder In SourceFolder.SubFolders
ListFolders SubFolder.Path, True
Next SubFolder
Set SubFolder = Nothing
End If
Columns("A:E").AutoFit
Set SourceFolder = Nothing
Set FSO = Nothing
ActiveWorkbook.Saved = True
End Sub
Or . . .
Const BIF_RETURNONLYFSDIRS As Long = &H1 ''' For finding a folder to start document searching
Const BIF_DONTGOBELOWDOMAIN As Long = &H2 ''' Does not include network folders below the domain level in the tree view control
Const BIF_RETURNFSANCESTORS As Long = &H8 ''' Returns only file system ancestors.
Const BIF_BROWSEFORCOMPUTER As Long = &H1000 ''' Returns only computers.
Const BIF_BROWSEFORPRINTER As Long = &H2000 ''' Returns only printers.
Const BIF_BROWSEINCLUDEFILES As Long = &H4000 ''' Returns everything.
Const MAX_PATH As Long = 260
Type BROWSEINFO
hOwner As Long
pidlRoot As Long
pszDisplayName As String
lpszINSTRUCTIONS As String
ulFlags As Long
lpfn As Long
lParam As Long
iImage As Long
End Type
Declare Function SHGetPathFromIDListA Lib "shell32.dll" (ByVal pidl As Long, ByVal pszBuffer As String) As Long
Declare Function SHBrowseForFolderA Lib "shell32.dll" (lpBrowseInfo As BROWSEINFO) As Long
Function BrowseFolder() As String
Const szINSTRUCTIONS As String = "Choose the folder to use for this operation." & vbNullChar
Dim uBrowseInfo As BROWSEINFO
Dim szBuffer As String
Dim lID As Long
Dim lRet As Long
With uBrowseInfo
.hOwner = 0
.pidlRoot = 0
.pszDisplayName = String$(MAX_PATH, vbNullChar)
.lpszINSTRUCTIONS = szINSTRUCTIONS
.ulFlags = BIF_RETURNONLYFSDIRS
.lpfn = 0
End With
szBuffer = String$(MAX_PATH, vbNullChar)
''' Show the browse dialog.
lID = SHBrowseForFolderA(uBrowseInfo)
If lID Then
''' Retrieve the path string.
lRet = SHGetPathFromIDListA(lID, szBuffer)
If lRet Then BrowseFolder = Left$(szBuffer, InStr(szBuffer, vbNullChar) - 1)
End If
BrowseFolder = BrowseFolder & "\"
End Function
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Add - new item alert for sub folder
Hi There,
I have 2 questions for Folder Action Script. Hope someone here can help me to resolve.
1. How to get new item alert for sub folder (many subfolders inside the folder).
2. It is possible to alert on item been removed or modified.
Thanks in advance.You just need to add or change the folder action handler:
on removing folder items from folderAlias after losing listOfAliasOrText
# whatever
end removing folder items from
There are only a few folder actions available - for adding or removing folder items, closing or moving a folder window, and opening a folder. See the AppleScript Language Guide. -
I am new to forms so please help me figure this out
when using new_form I am able to open a form...such as
NEW_FORM('formname');
how do I open a form in the sub folder without specifying the full path..when I tried
NEW_FORM('subfolder\special_reports');
gives me a error Frm-40108: No such form...but if I specify the full path then the form opens up....what can I do so as to not hard code the full path....any help would be greatly appreciated.Hello,
add the subfolder in your FORMS90_PATH environment variable.
Francois -
How to Open a Specific Folder in the Finder via Shortcut Key
I'm sure this has been covered elsewhere, so sorry for not finding it...
Is it possible to assign a shortcut key to open a specific folder with Automator or AppleScript? There are 4-5 commonly used folders buried 10-11 levels deep on a server and I'd love to have a shortcut key to open those particular folders in the Finder.
Could you give me some assistance?
Thanks!QuickKeys may work, or you can look on http://www.versiontracker.com or http://www.macupdate.com for other alternatives.
Another option is to create aliases to those folders and store the aliases in a local folder which you can place on your Dock, the Finder window sidebar or toolbar. -
hi when i open my application folder, all the application is shown in trash folder. when i click the application it says this app is in trash first move it out. and when i try to open through finder> go it says this file doesn't exist. can some1 plz help? how can i put all my application through application folder?
Something really odd is going on. In your first screen shot, I noticed that the Applications folder does not have the proper icon displayed in the side bar. Also, in the title bar it lists it as Applications 08-59-29-909.
Not sure where it's picking up that odd name, unless it's because it's still truly within the Trash folder.
Try this. In the Finder > Preferences > General > turn on "Always open folders in a new window". (I have a feeling you have the default setting with this off).
Now, in Finder > Go > move down and open the Applications Folder from there. Now open the folder where you see all your applications that you show in your screen shot, select all, and move them to this true appliactions folder.
This is what you should properly seeing (but with different apps listed):
See how the Applications folder has the icon of the letter A shaped with a pencil, ruler & pen. -
Hello. I don't know if this is the right category for my problem but here it goes.
Since yesterday, I've been trying to open Windows Explorer folder (which include Documents, Pictures, Videos, Music, Downloads, Computer, Dropbox, Skydrive, etc.) and as a result my taskbar and my background crashes, the folder doesn't open and then my taskbar
and bg goes back to normal. I searched the problem in other forums but the responses are from last year and this is happening since 29/03/2014 (yesterday) so I don't know if this is a new thing or old. I called my sister because she has this same laptop and
asked her if this is happening to her also and she said it is so I'm starting to think that W8.1 needs an update. Idk :(. We have a Dell Inspiron 15 and it's brand new ! I ordered mine last month.
Problem Details:
Windows Explorer Stopped Working
Description
Faulting Application Path: C:\Windows\explorer.exe
Problem signature
Problem Event Name: APPCRASH
Application Name: Explorer.EXE
Application Version: 6.3.9600.16441
Application Timestamp: 5265dec8
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.3.9600.16496
Fault Module Timestamp: 52b3f283
Exception Code: c06d007e
Exception Offset: 0000000000005a88
OS Version: 6.3.9600.2.0.0.768.101
Locale ID: 1033
Additional Information 1: 6268
Additional Information 2: 6268221e00f9b14c7c313c3b93b7b1c8
Additional Information 3: 7b89
Additional Information 4: 7b8924d255daf0419ae3ae354fccfe84
Extra information about the problem
Bucket ID: 85aa1369beebb4641c7856cb8a4724e2 (85906392470)
If anyone can help me with this, I will be forever thankful !Hi,
Did you make any change to your system recently? To fix this problem, firstly, you can try to use
SFC /scannow command to fix it for test.
If problem persists, just try to boot your system into Safe mode to test if this problem occures. If problem occures, It would be better to use system resotre to revert your system to a former timepoint state.
To find the reason about this problem, you can use Process Monitor
to capture Explorer.exe when open folder or library.
Roger Lu
TechNet Community Support -
Lightroom always opens to same folder/!!!
Every time LR opens, it always opens to the same obscure folder that I haven't used in months. How do I get it to open to the folder I last used?? Thanks
I presume you mean "obscure catalog"? To change this you can goto Lightroom preferences (Edit->Preferences, shortcut is ctrl,). On the General tab choose from "When starting up use this catalog" drop-down list under the Default Catalog heading.
Maybe you are looking for
-
Picasa synced Web Album Pictures are blank in Gallery
Don't know when this happened but the pictures in gallery that are synced from Picasa web are now blank. The thumbnail squares are blank, the Picasa icon is on the stack, the album names are there but the pictures are blank. The images are fine on th
-
How do I sync outlook 2010 using the latest idunes
I upgraded to the latest version of Itunes and now Itunes will not see my outlook?
-
Can't sign back to Game Center
All of the things I have needs Game Center so please help me!!!!!!!
-
IPod Touch and Airport Express
I have a home network with Airport Express access point connected to my Bose entertainment system which allows me to play my iTunes music on the Bose speakers. With iPod Touch and it's WiFi capabilities, can I play my music on the Bose speakers as we
-
Can't Put Some E-mails In Selected Mailbox
Some e-mails won't go where I tell them. I see an item named "It" in Inbox and want to move It to another mailbox, for instance, Man. Man is a sub-mailbox of Person. I drag It to Man. The title Man does not highlight and It cannot be dropped there. T