Folder url creation

Hi.
I want to create a link to a folder from within a content area and I was wondering if anyone could tell me how to dynamically find the folder id for a folder.
I know the format of the url for the folder when it is accessed, but I dont know where the parameter _fid is stored. Is it in a table that I can reference?
Thanks in advance,
Bethany

It's stored in a field ID table WWV_CORNERS.
But i'm afaid it is not good idea to use pages id, because it will be changed after export and import site.
Better way is using PAGENAME in http://www.mysite/pls/PORTAL30/url/FOLDER/PERSONALFOLDERS/A/ALEX/ format.

Similar Messages

  • How can I include a Credit Mgmt Case Folder URL in a workflow notification?

    I have a requirement to add a URL to a workflow notification, which is easy enough. The issue I am having is that I am not able to create a URL that successfully opens the Credit Management Case Folder that is specified in the worflow notification.
    I am only able to get the URL to launch the following successfully: http://<ce:0000>/OA_HTML/RF.jsp?function_id=16351&resp_id=23916&resp_appl_id=222&security_group_id=0&lang_code=US
    Has anyone else solved this issue? Any help would be appreciated.

    We are using eBusiness Suite 11.5.10.2, 10g database
    I created a woflow attribute of type URL.
    Name: Case Folder Link
    Frame Target: New Window
    Value: http://<instance>/OA_HTML/RF.jsp?function_id=16351&resp_id=23916&resp_appl_id=222&security_group_id=0&lang_code=US
    I then added the following line to add the URL attribute to the HTML message body.
    Case Folder Link : &CASE_FOLDER_LINK
    When using the link above I don't get any error message. However when I try to change the URL to a specific case folder URL (Note this URL should change depending on the Case Folder # provided in the notification message.):
    http://<instance>/OA_HTML/OA.jsp?_rc=ARCMANALYSISDATACRDSUMMARYPAGE&_ri=222&retainAM=Y&cmSubRegion=PARTYREGION&cmPartyId=%7B!!k5vkXUpUCWxLhSZj.uqBHQ%7D&cmCustAccountId=%7B!!lBrDTc7.B3E6QA-16tJNIw%7D&cmSiteUseId=%7B!!7jcW1qvgKOeEFCpFYCanSA%7D&OAHP=ARCMMENUAPPLICATION&OASF=ARCMANALYSISDATACRDSUMMARY&_ti=1687529995&oapc=9&oas=GiXPV8nU9RQ6Ej53zIESsw..
    The error I receive is:
    Error: You are trying to access a page that is no longer active. - The referring page may have come from a previous session. Please select Home to proceed.

  • Fetching full folder URL in Powershell

    Hi,
    I am trying to upload some images to a sub-folder in a library.
    However, the folder path does not seem to be correct, and the image is not getting added.
    The actual url will be : http://server/Lists/LibraryName/subfolder
    But when using the powershell, the path is coming as :
    http://Server/LibraryName/subfolder/
    Below is the powershell code used:
    function UploadImages($weburl)
    $docLibraryName = "TestLibrary"
    $localFolderPath = "C:\Users\Test\test_image"
    Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue
    $web = Get-SPWeb -Identity $webUrl
    $docLibrary = $web.Lists[$docLibraryName]
    $subFolderName="test_image"
    #Attach to local folder and enumerate through all files
    $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles() | ForEach-Object {
    #Create file stream object from file
    $fileStream = ([System.IO.FileInfo] (Get-Item $_.FullName)).OpenRead()
    $contents = new-object byte[] $fileStream.Length
    $fileStream.Read($contents, 0, [int]$fileStream.Length);
    $fileStream.Close();
    write-host "Copying" $_.Name "to" $docLibrary.Title "in" $web.Title "..."
    #Add file
    $folder = $web.getfolder($docLibrary.Title + "/" + $subFolderName)
    write-host "folder is " $folder
    write-host "whole url is " $folder.Url + "/" + $_.Name
    [Microsoft.SharePoint.SPFile]$spFile = $folder.Files.Add($folder.Url + "/" + $_.Name, $contents, $true)
    $spItem = $spFile.Item
    Write-Host -f Green "Added Images to Library !!!"
    $web.Dispose()
    The below line is throwing error:
    [Microsoft.SharePoint.SPFile]$spFile = $folder.Files.Add($folder.Url + "/" + $_.Name, $contents, $true)
    The write host output is showing the below:
    Copying ab_small_gif.gif to testLibrary in testLab ...
    folder is testLibrary/test_image
    whole url is testLibrary/test_image + / + ab_small_gif.gif
    864
    ForEach-Object : Exception calling "Add" with "3" argument(s):
    "<nativehr>0x80070003</nativehr><nativestack></nativestack>There is no file
    with URL 'http://server/testLibrary/test_image/ab_small_gif.gif' in this Web."
    How to fix this?
    Thanks

    Hi  ,
    According to your description, my understanding is that you encountered the error “There is no file with URL 'http://server/testLibrary/test_image/ab_small_gif.gif' in this Web” when you try to upload some
    images to a sub-folder in a library using PowerShell script.
    Per my knowledge, the URL of a SharePoint library should be as this : 
    http://servername/LibraryName
    Such as :
    http://sp2013/Shared%20Documents
    The URL of a SharePoint list should be as this:
    http://servername/Lists/ListName
    Such as :
    http://sp2013/Calendar
    So please make sure the location you want to upload the images to is  a library.
    Also you can try to  create a new Document Library and upload your images.
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • PowerShell : SPWeb.GetFolder() with browser folder url failed

    I am using powershell script and when I call SPWeb.GetFolder() with
    (short url) it works fine and when I used (browser url) it's not working. However it refers to the same folder
    e.g
    short url
    http://intranet.company.eg/it/Test/Test
    browser url :
    http://intranet.company.eg/it/Test/Forms/AllItems.aspx?RootFolder=%2fit%2fTest%2fTest&FolderCTID=0x01200008503521C8123648B5EE9C5BFFC50F6A
    I need to get the folder url as input from user so is there any way to solve this issue or workaround for that ?
    In brief how can I make easy way to get folder from user as input parameter then I make operations on it?

    Hi Mohammed,
    All items.aspx with query string is a list view page, if you want to get the whole url (browser url you mean), you need to construct the whole url with each part value (i.e. list url, folder name, rootfolder value and folderCTID value).
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Output folder URL not sticking

    In the Flex Build Path setting for my Flex project, I set the
    Output folder and Output folder URL. It appears that the Output
    folder URL is not getting saved when I shut down and reopen Flex
    Builder. The Output folder is sticking, but I need to respecify the
    Output folder URL each time I fire up Flex Builder.

    The attribute name in .actionScriptProperties is "rootURL",
    but I just tried
    manually inserting it there, and unfortunately, it looks like
    beta 3 ignores it.
    - Mike Morearty
    Developer, Flex Builder team
    http://www.morearty.com/blog
    mgbaron wrote:
    > I'm getting stuck on this issue as well.
    >
    > In the meantime, is there a parameter I can add to my
    .actionscriptProperties file that will make the output folder when
    I close FlexBuilder?

  • Need help with 'Output Folder URL'

    How can I compile my application and have it get posted on a
    server?
    When I create a project, in the “Flex Build Path”
    I add my server URL in the 'Output Folder URL' field. But when I
    Run my project, it doesn't even seem to attempt to push any files
    to the server. It just brings up my browser with the path to it,
    which it obviously gets a 404 error. And its going to need a
    username and password to post files to a server. Where would I
    assign theses value to Flex Builder?

    After I installed Apache Ant and tinkered with it for about 5
    hours, I have what initially wanted. The code below will compile,
    copy and launch. I also made a splash logo that appears when its
    building. Ant is a nice utility for automated development.
    Ref:
    http://blog.jodybrewster.net/2008/04/09/installing-ant-in-flex-builder-3/
    http://ant.apache.org/manual/tasksoverview.html
    <project name="buildXIFF" default="main">
    <property name="compiler" value="C:\Program
    Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe"/>
    <property name="firefox" location="C:\Program
    Files\Mozilla Firefox\firefox.exe"/>
    <property name="projectURL" value="
    http://vmwinserver2003/flex/tests/XIFF/XIFF.html"/>
    <property name="baseDirectory"
    value="Z:\Documents\Programming\Flex\Tests\XIFF"/>
    <property name="baseServerDirectory"
    value="Y:\flex\tests\XIFF"/>
    <target name="main">
    <splash
    imageurl="file:${baseDirectory}/build/FxAntBuildLogo.png"
    showduration="2000"/>
    <antcall target="compile" />
    <antcall target="copy" />
    <antcall target="launch" />
    </target>
    <target name="compile" description="Build XIFF
    project">
    <echo>Building files in bin directory in
    repository</echo>
    <exec executable="${compiler}">
    <arg line="-file-specs '${baseDirectory}/src/XIFF.mxml'
    "/>
    <arg line="-output= '${baseDirectory}/bin-debug/' "/>
    </exec>
    </target>
    <target name="copy" description="Copy XIFF bin directory
    to server">
    <echo>Copying bin directory from repository to server.
    Overwriting all files in destination directory.</echo>
    <copy todir="${baseServerDirectory}" overwrite="true">
    <fileset dir="${baseDirectory}/bin-debug/"/>
    </copy>
    </target>
    <target name="launch">
    <echo>Launching browser, URL is the project's html
    page on the server.</echo>
    <exec executable="${firefox}" spawn="true">
    <arg value="${projectURL}"/>
    </exec>
    </target>
    </project>

  • Site Studio Error Handler for virtuals folder URLs

    Hi Experts,
    we have a ErrorHandler section in sitestudio to handle 404 URLs. It is working fine for site URLs.
    My question is .. would it be worked for virtual folder URLs.
    IF we have a vitual folder structure like this - /abc/xyz/ and this folder has one file say "abc.html"...
    http://server/siteid/abc/xyz/abc.html - It works fine .....
    I user typed any wrong URL like
    http://server/siteid/abc/xyz/abcdefgh.html
    would it be handled by Sitestudio ErrorHandler ???

    This is the mapping from my first post:
    <instance-name>/webdav-test/newsletters/ <!--$cgipath-->?IdcService=GET_FILE&dDocName=<!--$suffix-->&allowInterrupt=1&RevisionSelectionMethod=LatestReleased&Rendition=web&noSaveAs=1
    The only change is I added <instance-name> to mine at the begining (if I don't it won't work because I didn't feel like adding webdav-test as prefix in my apache).
    Then I run it like this:
    http://www.example.com/<instance-name>/webdav-test/newsletters/000001
    Notice that I put contentId as in 000001, not xyz.htm because it won't work (xyz.htm is not a valid dDocName). This works perfectly fine for me.
    I'm guessing in your case it'd run: http://www.example.com/webdav-test/newsletters/000001, you'll have to give the contentId instead of the actual name of the file for that.
    Cheers

  • How to send the folder url using SharePoint Designer WF??

    Hi,
    i am trying to send the folder url as a email link using SharePoint designer workflow. i already created the WF which is sending the item url attaching with email. is there anyway i can add folder url too, so that once user will click they can see all the
    files in that folder?
    Thanks

    I think you've got a quote in the wrong place, but you're close. 
    Do a 'set workflow variable', and create a new one called whatever - this one was called link
    Add that variable to your email:
     Of course you can set your text to whatever you want. I use this technique to do formatting in email - you can create a pretty complex bit of html in a string variable and insert it into email - Outlook/Exchange will interpret.
    And actually, I think there's another variable, maybe in the workflow context section, that would have your site address, so you wouldn't have to hardcode your https://xxxx.com . 
    Robin

  • Content Area & Folder URL's

    I use to be able to link directly to a content area or folder area by using the Folder Properties to copy the URL. Now, when I try to use this method it always takes me to my home page? I have users that want to link directly to one of their folders in a content area. Any ideas?
    Thanks,
    AG

    1 From the Navigator click on the required Content Area
    2 Click on the properties sheet icon
    3 Cut and paste the URL
    4 Copy the URL into an email
    5 Send the email
    6 Click on the link from the email
    7 The link does not go directly to the folder but the home page instead
    This used to work but doesn't anymore, I've tried this in another 309 instance and it works OK.

  • Events - how to customize public events folder url

    I have customized each of my event landing and registration page urls.  I can't seem to customize the url for the public events folder.  How can I do this so people can have an easy to remember
    url to go to?
    Thank you,
    Leanne

    You can't. This URL is programmatically assigned when the folder is created by Connect. Folders don't have the option for custom URLS.
    You could always use a service that provides a shorter URL and re-directs to whatever you want. There are plenty of services like:
    Google: http://goo.gl
    Bitly: http://bitly.com
    TinyURL: http://tinyurl.com
    Short URL: http://shorturl.com

  • Sub Folder auto-creation in N82 images, whats the ...

    So I get a folder 200810 for October 08, but within it I get folders 200810A0,200810A1,200810A2,200810A3, etc.
    Anybody able to tell me why I get these folders, and/or what their formation is based on. It's not based on the numbers of fotos, so is it based on mega pixel total,.
    They seem like an unnecessary hurdle in navigating images, anyway to stop them coming into being, or what use are they?
    Thanks
    PC:Win7 SP1 64Bit,Nokia Suite: v.3.6.36
    Phones:
    808:059M934 - SWv.:113.010.1507
    N8 :059C5Q8 - SW v. 111.040.1511

    The multicolumn Finder can confuse some Windows people, because it only sorts one way. Also the New Folder shortcut is not what you expect it to be. In Mac OS 9, it was simply command-N. It is now command-shift-N in Mac OS X. So you have to select the folder you want to create the folder inside of, make sure the rightmost column shows the contents of that folder you want to create the folder in, and then select command-shift-N, or new folder from the File menu. If in list or icon view, only the active folder is where you will store the new folder when you command-shift-N. The Title of the window in List or Icon view indicates where a new folder will be stored. Only multicolumn Finder gives you more control in the same window where you create a new folder.

  • Dynamic URL creation in Adapter Module

    I have a situation in which I need to create a dynamic URL to send data using an HTTP POST ( using  HTTPS).
    I created an UDF to use Dynamic Configuration, this works fine for the UrlParam in the HTTP CC and the TServerLocation in the SOAP CC.
    My issue is that both variables have the same limitation of 200 chars max, and sometimes the URL is longer than 200 chars (I have to pass more than 20 parameters in the URL). The message mapping with the UDF fails whenever I try to put more than 200 chars in the Dynamic Configuration Variables. Therefore I cannot use Dynamic Configuration.
    I'm now thinking of creating an Adapter Module which creates an URL out of the XML message passed to the adapter, and use this value to overrule the URL defined in the Communication Channel. The URL field in the Communication Channel does not have a  200 chars limitation.
    Does anybody know how to do this? Is it possible to replace the value of the URL field in the Communication Channel with another  value in an Adapter Module?
    I have to pass the data as parameters in the URL, not as Header fields in the message.
    Thanks,
    Andre

    Hello Chris,
    The error is:
    RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_paymentClusterCreate_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /ns0:mt_newPaymentClusterData/merchant_name; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (471/200):
    It's even in the SAP Help:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce299c3a8e5430e10000000a42189b/frameset.htm
    The length of the attribute value is defined by the XI message protocol. Values can be a maximum of 200 characters long. If, for example, you assign longer values in the mapping or adapter modules then this can lead to processing errors at runtime or the values are shortened to 200 characters. This shortening can also lead to a processing error. The processing error that occurs depends on the components that access the attributes.

  • Task List (type URL): How can I associate a Folder URL?

    Hello,
    I want to redirect users, using a Task List, to a Folder where they can find multiple documents that they need to review.
    I try to use the Folder's UUID (for example: 000001278bc69433-0000-0c91-0a000129) that I find in the Properties (the folders havent a SmartCut), but it doesnt work.
    I also tried to use the SmartCut from a document that is inside the folder without the document name, also without success.
    (for example: http://localhost/workspace/browse/get/Folder_Name)
    Is possible to do it?
    The Workspace version is 11.1.1.3
    Thanks in advance.
    Assia.

    Hello,
    I want to redirect users, using a Task List, to a Folder where they can find multiple documents that they need to review.
    I try to use the Folder's UUID (for example: 000001278bc69433-0000-0c91-0a000129) that I find in the Properties (the folders havent a SmartCut), but it doesnt work.
    I also tried to use the SmartCut from a document that is inside the folder without the document name, also without success.
    (for example: http://localhost/workspace/browse/get/Folder_Name)
    Is possible to do it?
    The Workspace version is 11.1.1.3
    Thanks in advance.
    Assia.

  • Regarding URL Creation

    I want to submit a request to action class Lookup.do with in the Portal context. I have a struts portlet associated with the Lookup action. How to create portal url for Lookup action in the following jsp.
    <%@ page language ="java" import="javax.portlet.PortletURL" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/netuix/render" prefix="render" %>
    <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
    <html>
         <head>
              <script>
                   function doSubmit() {
                        document.lookupForm.action = 'kop/Lookup.do';
                        document.lookupForm.submit();
              </script>
              <title>Struts Application</title>
         </head>
         <body bgcolor="red">
         <html:errors />
              <html:form action="Lookup">
              <p><font face="Arial" size="3" color="white"><bean:message key="test.Heading"/></font>
              </p>
                   <table>
                        <tr>
                             <td><font face="Arial" size="3" color="white">Login Name:</font></td>
                             <td><html:text property="loginName" /></td>
                        </tr>
                        <tr>
                             <td><font face="Arial" size="3" color="white">Password:</font></td>
                             <td><html:password property="loginPassword" /></td>
                        </tr>
                        <tr>
                             <td><html:submit /></td>
                        </tr>
                   </table>
                   Click here to continue.
              </html:form>
    </html>

    Lalit,
    It is almost certainly a problem with your proxy configuration, as it works fine for me (with no proxy in between).
    John

  • Location of Book folder after creation of Book for validation

    As part of the Print Book process in A3 one can request that a softcopy of the book is made available for inspection. This is viewed automatically by Preview.
    If one asks to Save AS the file one sees that the file is in a folder called Book with a name that starts fstpBook.....
    Where is this folder located? - I have used Tinkertools to make invisble items on the drive visible but cannot seee the folder or the pdf file.
    Of course I can complete the Save As process to save the file to a known directory - but I would like to know where Aperture puts the file
    Thanks for any info

    I've just had this. The dropbox preferences are in a hidden directory (.dropbox) in your home folder. Delete that and it should start up as it would with a clean install.
    To do this:
    Open terminal
    run 'sudo rm -r .dropbox'
    enter your password
    That *should* sort it. I'd renamed my home directory and this messed it up, before I did the steps above I created an alias to my new location that matched to old name, I'm not sure if this is needed but worth a try if the above doesn't sort it..

Maybe you are looking for