JHeadstart SU1 - LOV target item cannot be based on key attribute

I have just installed by the SU1 and tried to re-generate one of my Application Modules and I am getting the following error
JAG-00131 [ QualificationPapers / PaperVariants / SessionPaperQuestions / VariantCode ] Lov target item 'VarId' cannot be based on key attribute of base ViewObject, uncheck the key attribute checkbox for this attribute.
Is this a new check that has been introduced?
Thanks
Mark

Mark, take a look at Re: What is the reason for JAG-00131 in SU97?
Toine

Similar Messages

  • ReadOnly items based on transient attribute - best approach?

    JDev11 question:
    Do you have any idea how can I make items updatable/readOnly based on transient attribute?
    Why is there only feature for "Updatable while new"..?It should be updatable based on function.
    I tried making my coponents disabled based on transient attribute based on a groovy expression.
    However when I invoke af:query, there is a problem - a bug which is similar to this thread:
    http://cn.forums.oracle.com/forums/thread.jspa?threadID=1018561&tstart=89
    So there should be another good approach.. Please suggest anything you think is flexible enough.

    Navid,
    JHeadstart checks whether the attribute definition is queryable before adding it to the list of advanced search attributes. A transient VO attribute can still be set to queryable, for a transient EO attribute this is not possible. We will remove this check on queryability in the upcoming patch release, since you have a valid use case. For now, you can subclass JhsSearchBean and override method createArgumentListForAdvancedSearch and comment out the check for "def.isQueryable()".
    Steven Davelaar,
    JHeadstart Team.

  • JHeadStart Security problem-error page cannot be found- role based security

    JHeadStart Security problem-error page cannot be found- role based security
    Good morning! How are you? I would need some help in a jheadstart 10.1.3.2 security case and I was wondering if you could give me a hand to go on. I create the Model project with tables of oe schema. Then in JHeadStart to perform security I follow the following steps: In ViewController/WEB-INF/web.xml – properties I do the following: login configuration: http basic authentication rfc 7617: realm:jazn.com
    Security roles : I define two roles: customer and administrator , Security Constraints: web_resources: All_pages, Url Patterns: faces/*. Then in Tools/Embedded OC4J Preferences/Global/Authentication JAZN/Realms/jazn.com/users: I define two users c1, password c1 and a1,password a1, roles/member users/ I attribute the roles to the relevant users c1—customer and a1—administrator. Then in application definition editor on service level I define security/use role based authorization=true , authorization type: JAAS and when access denied go to next group=true. On group level e.g.: ProductInformation: Authorization/Authorized Roles Permissions: administrator.On item level : Orders/Items/OrderTotal/Operations/Update Allowed: #{jhsUserRoles['administrator']},Then I generate the pages (run the jag) . The generation is completed successfully but when I run the View Controller project a “the website declined to show this webpage…(page cannot be found)’ is displayed. What should I do? I would appreciate it if you would help me on this issue! Thank you very much.

    Thand you very much for your reply! Unfortunately there is a specific restriction-convention in the project I work in. I am supposed to perform role based security with my own tables and no by the jheadstart’s ones. Could you find out what is my fault with the steps I follow trying to perform the process?
    To remind you my steps I paste the following again:
    JHeadStart Security problem-error page cannot be found- role based security
    Good morning! How are you? I would need some help in a jheadstart 10.1.3.2 security case and I was wondering if you could give me a hand to go on. I create the Model project with tables of oe schema. Then in JHeadStart to perform security I follow the following steps: In ViewController/WEB-INF/web.xml – properties I do the following: login configuration: http basic authentication rfc 7617: realm:jazn.com
    Security roles : I define two roles: customer and administrator , Security Constraints: web_resources: All_pages, Url Patterns: faces/*. Then in Tools/Embedded OC4J Preferences/Global/Authentication JAZN/Realms/jazn.com/users: I define two users c1, password c1 and a1,password a1, roles/member users/ I attribute the roles to the relevant users c1—customer and a1—administrator. Then in application definition editor on service level I define security/use role based authorization=true , authorization type: JAAS and when access denied go to next group=true. On group level e.g.: ProductInformation: Authorization/Authorized Roles Permissions: administrator.On item level : Orders/Items/OrderTotal/Operations/Update Allowed: #{jhsUserRoles['administrator']},Then I generate the pages (run the jag) . The generation is completed successfully but when I run the View Controller project a “the website declined to show this webpage…(page cannot be found)’ is displayed. What should I do? I would appreciate it if you would help me on this issue! Thank you very much.

  • Error creating LOV in Business View Manager - cannot be based on current DF

    Hi,
    I'm trying to use Business View Manager for the first time.  I'm trying to create a dynamic, cascading prompt to be used by Crystal Reports.
    I've been able to create:
    - data connection
    - data foundation - simple one table
    - business elements - two columns from the table
    - business view
    - List of Values
    I am now trying to create a parameter in the Business Elements tool.  The parameter needs to be a Dynamic, Cascading parameter.
    When I try to save the new parameter, I get the follow error:
    The List of Values used by this parameter cannot be based on a Business View derived from the current Data Foundation or Business Element.
    HELP
    Thanks

    Hi Chris
    If you are trying to create a LOV and use that as a parameter, then you need to create LOV as Dynamic Cascading values. Once created then you can use that LOV in the Crystal Reports.    
    This is the best way to get dynamic cascading prompts in Crystal reports.
    Please refer to Business View Admin guide for more information.
    Hope this helps!!
    Regards
    Sourashree

  • R12: How to filter Open Item Revaluation Report based on GL Date

    Hi,
    Anybody know how to filter Open Item Revaluation Report based on GL Date from and GL Date to in R12?
    Since we just upgraded from 11.5.10 to 12.1.3 and found we cannot filter those report for specific date. It shown all data included the old data from 8 years ago also.
    We need to run the report only for specific date only. Please share with me if anyone know about this.
    Thanks.

    Pl do not post duplicates - R12: How to filter Open Item Revaluation Report based on GL Date

  • How to set lov criteria item dynamically

    Hi,
    pl let me know how can we set the lov criteria item programatically.
    i have 2 lov's.if the 1st lov has a null value then 2nd lov shud have a null value.
    but if 1st lov has a value then 2nd lov has to populate values based on the value in the 1st.
    pl do help me
    thanks

    Hi,
    Can you check the OAMessageLovInput
    s addLovRelations api.
    Eg.
    OAMessageLovInputBean mlib =(OAMessageLovInputBean)webBean.findChildRecursive("id of lov");
    mlib.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_RESULT, // direction
    LOV_REQUIRED_NO);
    mlib.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_CRITERIA, // direction
    LOV_REQUIRED_NO); // Enable Look
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Help - photo could not be opened, because the original item cannot be found

    I keep getting the following error message for about 10 different photos:  "The photo “IMG_0123.JPG” could not be opened, because the original item cannot be found."  It prompts to cancel or find these photos every time I open iPhoto.  Is there any way I can stop this.  I don't know if I still have the photos and, at this point, I don't care.  I just want it to stop.  Thanks in advance for any advice.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD 

  • HT5129 The photo "claire-66.jpg" could not be opened, because the original item cannot be found.

    because of the mobile me switch i can not use my iphoto. i had some albums in my mobile me web gallery and one of them i had deleted the original files so it will not allow me to use my iphoto because it keeps giving me this error message and i can't get rid of it.
    "The photo “claire-66.jpg” could not be opened, because the original item cannot be found."
    I don't have the original photo anymore so i can not link it to it.

    So, your iPhoto Library is now corrupted.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • FI-CA Open Items based on key date Business Content

    Hi,
    I am using BI content infocube 0FC_C07 to extract contract account open items data. Our requirement is to do the data load weekly basis based on key date.
    I have enhanced the extractor and i can see data for the enhanced fields in RSA3. But now, i am not sure how to load data into BI.
    At the infopackage level(PSA level)  there are 2 mandatory fields (DateID(LAUFD) and Additional Identification Characteristic(LAUFI)). Do i need to change the date every week manually? I have to create a process chain to automate the dataloads.
    Also, i need to use counters for Each unique Contract Account and Contract Account Document .
    For the contract Account Document number , i am thinking to us this formula(If contaract document item =1 then document counter =1 otherwise 0). But i am not sure how to count each single contract Account?
    Your advise will be appreciated.
    Thanks,
    Priya

    Hi Priya,
    Go to InfoPackage selection tab.
    Now in the Type select 6 which is for ABAP Routine.
    This will open the ABAP Editor.
    Write your code there.
    Sample code.
    data: l_idx like sy-tabix.
    DATA : from_date type sy-datum,
           to_date type sy-datum,
           month(2) type n.
    read table l_t_range with key
         fieldname = 'IDATU'.
    l_idx = sy-tabix.
    *if current date is suppose 14th April 2008, then this routine should
    *pick values from 1st jan 2008 till
    14th April 2008
    clear month.
    month = sy-datum+4(2).
    if month = '01'.
    month = '10'.
    endif.
    if month = '02'.
    month = '11'.
    endif.
    if month = '03'.
    month = '12'.
    endif.
    if month GT '03'.
    month = month - 3.
    endif.
    concatenate sy-datum+0(4) month '01' into to_date.
    l_t_range-low = to_date.
    l_t_range-high = sy-datum.
    l_t_range-sign = 'I'.
    l_t_range-option = 'BT'.
    modify l_t_range index l_idx.
    p_subrc = 0.

  • This item cannot be displayed in the Reading Pane. Open the item to read its contents Outlook 2013

    One of Outlook 2013 of Office Home and Business in Windows 7 Pro 64bit who is connecting to a local Exchange 2010 server is having the following error:
    This item cannot be displayed in the Reading Pane. Open the item to read its contents.
    When launching Outlook, it seems work fine. If user click other folders and click Inbox again. The error comes out. It only happens on Inbox folder.
    I have tried the followings with no luck.
    1. Rebuilt new Outlook profile.
    2. Rebuilt new Windows profile + Outlook profile.
    3. Disabled all add-ins.
    There are 2 ways I can make it work.
    1. I disabled "Cache Mode", then it starts working well. 
    2. Start Outlook with outlook.com /safe.
    So the question is why in Cache mode, Outlook 2013 cannot display the item in reading pane. 
    Any hint will be appreciated.
    CliffZ

    CliffZ,
    One hint: Do an offline virus scan on the affected computer:
    1. Check if your computer has a 32- or a 64-bit system. Right-click on Computer icon, choose Properties. System type reveals the bitness.
    2. Download the appropriate virus scanning version from http://windows.microsoft.com/en-US/windows/what-is-windows-defender-offline
    Note: If you're on Windows 8.1: http://windows.microsoft.com/en-us/windows/what-is-windows-defender-offline-beta
    3. Insert a USB stick with nothing important on. Observe the drive letter (F:, G: etc ...) assigned to it.
    4. Start the downloaded program and follow the instructions. Note: Choose the correct drive letter from 3 above.
    5. Restart your computer so it will boot from the USB stick. Depending on computer brand you can often press F12 to get a boot menu.
    Sometimes you have to enter BIOS to tell the computer to boot from USB if present.
    The quick scan starts. Abort it and select Full Scan.
    Let it run overnight.
    Regards Pete

  • Here's a fix for "This item cannot be updated because it has been changed by another user or process"

    https://gallery.technet.microsoft.com/System-Center-Service-fca7af29
    A few months ago on the Technet Gallery, I submitted this custom control to be used on SCSM console forms. The purpose of the control is to eliminate the "This item cannot be updated because it has been changed by another user or process" error
    message that we all have seen at least once (a day :) ).
    The details are in the gallery description (along with installation instructions for existing forms and your own custom forms).
    Here's a "short" description (nothing I ever post here is short :) ): This is a custom control that can be applied to an SCSM form like the Service Request form or Windows Computer form or your own custom form built with the authoring tool or Visual
    Studio. When you click "OK" or "Apply" on the form, this control scans the form and Service Manager's database for any changes to the object you have open. If a property that _you_ have changed on the form was _also_ changed in the CMDB
    (by a workflow or another user), this control will present a dialog box letting you know what happened. It will also let you choose which value to keep (yours, theirs, or the original value).
    Just as importantly (and important in a greater percentage of cases), if a workflow changes a "background" property (like FirstAssignedDate) while you have the form open and you click OK, the control will detect the change and allow the form submission
    to go through while keeping your changes and the FirstAssignedDate change that the workflow made. You won't get an error message or even a warning. And most importantly, you won't lose your changes.
    That's where the "optimistic" part of the control's name comes from. It applies optimistic concurrency control to SCSM forms, while also providing an anti-collision interface for you to use so you no longer lose any of your changes.
    Furthermore, this control will work on related items that are opened in memory; for example, the activities on a Service Request. So if you change an activity's title while the workflow engine sets it in progress, you won't get an error. The activity will
    be in progress and will get your new title when you click OK or Apply.
    Lastly, (and I admit this part is getting into the deep inner workings of console forms) if your form loads a sub projection at run time (to the root object) this control will detect the load and treat that sub projection as if it were apart of the original
    form all along.
    I've gotten a little feedback about this control, but I'd like to get more since it's a work in progress. So, I'm announcing it here on the forums. Please give it a try and let me know if you have any questions. I'll be happy to answer them here. Thanks,
    folks!
    Oh, and to answer the most common question right away: It's free. There is no paid version or anything like that. This is something I built for the SCSM community.

    Great job! 
    Will definitely try it out. 
    Best regards,
    Marcus

  • FCPX Export issue. Item cannot be shared while it is still referencing media on the camera

    I am having issues with exporting a project I just shot and I missed my delivery day and am now late. Need help ASAP. I'll try to keep this as brief as possible and stick to the pertinent information.
    The Shoot: -2 Panasonic HVX-200's shooting on P2 Media shooting a live event -Dumped footage onto external hard drive via Macbook Pro on set into separate folders for organization using a Panasonic P2 Reader. -All dumps were confirmed completed and all footage accounted for.
    The System: -Using Final Cut Pro X 10.1.2 -Mac Pro Tower 2009 quad core running OSX Mavericks 16gb Ram -Blackmagic Intensity Pro Card
    The Edit: -2 Camera multicam edit -Imported footage using import media function -Imported from external drive -(important note: a camera has never been connected to the computer for this project) -Edit is finished, about a 2hr 20 min finished sequence (live event 2 cameras switched in post, all graphics and everything is done)
    The Problem: -When I go to export via the "Share" function i get an error that says "This Item cannot be shared while it is still referencing media on the camera" -Imported footage has the camera logo in the corner meaning that it is referencing camera media; yet no camera has ever been connected.
    Solutions I have tried: -Re-importing media with re-import function --Says that the camera is not connected yet I never had one connected in the first place. -Deleting preferences -Biting the bullet and starting from scratch to do a re-edit -- footage will not import without referencing "camera media" -Tried importing via dragging and dropping. Says it cannot importing the following files, lists all of the XML and MXF files -Started a new event, with a new project, with a fresh import; same results -Googled this to death, no solution seems to work, but I'll try whatever I have to; client needs this ASAP.
    Questions: -The external drive is not showing up as a camera, so why is it importing as camera media? -Is there a way to salvage my edit and get it exported? I have a lot of hours into this and quite frankly, no time to redo the whole thing.
    Please help!

    I have had this issue too, and figured a work around.  FYI, I rebooted, tried everything imaginable, and still no luck.  I opened up iPhoto, and imported all the video clips into iPhoto.  I then took the missing video from iPhoto, copied it to my desktop.  Then I re-imported the video (same name) into Final Cut. I had to do some slight editing of the video, but everything worked fine, and allowed me to upload the video to YouTube. 
    Not certain it will work for others, but to recap, try to import the video into another program, then copy the missing video file to your desktop, and re-import to Final Cut.
    Hope this helps.

  • Item cannot be found in the collection corresponding to the requested name or ordinal.

    Hi,
    I am using Dreamweavers User Authentication tool, and all seems to be working except when I press the 'Submit' button I get the following error;
    ADODB.Fields error '800a0cc1'
    Item cannot be found in the collection corresponding to the requested name or ordinal.
    /coding/test_login.asp, line 35
    As far as I can tell the user login works, as I can assess the restricted page, if I manually type in the URL.
    My code is listed below;
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="Connections/Conn_PSCRM_Demo.asp" -->
    <%
    ' *** Validate request to log in to this site.
    MM_LoginAction = Request.ServerVariables("URL")
    If Request.QueryString <> "" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
    MM_valUsername = CStr(Request.Form("usercode"))
    If MM_valUsername <> "" Then
      Dim MM_fldUserAuthorization
      Dim MM_redirectLoginSuccess
      Dim MM_redirectLoginFailed
      Dim MM_loginSQL
      Dim MM_rsUser
      Dim MM_rsUser_cmd
      MM_fldUserAuthorization = """group"""
      MM_redirectLoginSuccess = "yes.asp"
      MM_redirectLoginFailed = "no_access.asp"
      MM_loginSQL = "SELECT usercode, epros_password"
      If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & MM_fldUserAuthorization
      MM_loginSQL = MM_loginSQL & " FROM DBA.[user] WHERE usercode = ? AND epros_password = ?"
      Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command")
      MM_rsUser_cmd.ActiveConnection = MM_Conn_PSCRM_Demo_STRING
      MM_rsUser_cmd.CommandText = MM_loginSQL
      MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param1", 200, 1, 255, MM_valUsername) ' adVarChar
      MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 255, Request.Form("password")) ' adVarChar
      MM_rsUser_cmd.Prepared = true
      Set MM_rsUser = MM_rsUser_cmd.Execute
      If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
        ' username and password match - this is a valid user
        Session("MM_Username") = MM_valUsername
        If (MM_fldUserAuthorization <> "") Then
          Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
        Else
          Session("MM_UserAuthorization") = ""
        End If
        if CStr(Request.QueryString("accessdenied")) <> "" And true Then
          MM_redirectLoginSuccess = Request.QueryString("accessdenied")
        End If
        MM_rsUser.Close
        Response.Redirect(MM_redirectLoginSuccess)
      End If
      MM_rsUser.Close
      Response.Redirect(MM_redirectLoginFailed)
    End If
    %>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <form action="<%=MM_LoginAction%>" method="POST" name="logon">
    <input name="usercode" type="text"><br>
    <input name="password" type="text">
    <input type="submit" name="Submit" id="Submit" value="Submit">
    </form>
    </body>
    </html>
    Any help greatly accepted.

    There are several workarounds you could use. I would start by setting the local variable back to the actual column name
    MM_fldUserAuthorization = "group"
    and then modify the reserved word directly SQL. See if this works:
      If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & """MM_fldUserAuthorization"""
    If that line doesn't work, then you might need to concatenate the quotes around the variable, or try a combination of single/double quotes.
    Also be warned that once you modify DW's generated code, you probably will not be able to maintain the code in DW server behavior wizard. You'll need to maintain by hand.
    Good luck.

  • Get-Item: Cannot find path ' ' because it does not exist. While running Powershell script.

    I am trying to run a PowerShell script to upload files into a SharePoint site in an Azure environment...the script works fine on my local machine, but every time I run it in Azure (remotely), I get errors. Here is what my simple script looks like...
    if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null )
    Write-Host "Loading Sharepoint Module "
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    Add-PSSnapin -Name Microsoft.SharePoint.PowerShell
    if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell) -eq $null )
    Write-Host "Failed to load sharepoint snap-in. Could not proceed further, Aborting ..."
    Exit
    #Script settings
    $webUrl = "http://sampleWebUrl"
    $docLibraryName = "My Documents"
    $docLibraryUrlName = "My%20Documents"
    $localFolderPath = get-childitem "C:\Upload\Test Upload\My Documents\" -recurse
    $contentType = "ContenttType1"
    #Open web and library
    $web = Get-SPWeb $webUrl
    write-host "Web:" $web
    $docLibrary = $web.Lists[$docLibraryName]
    write-host "docLibrary:" $docLibrary
    $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
    write-host "files:" $files
    If ($contentType = "ContenttType1")
    #Open file
    $fileStream = ([System.IO.FileInfo] (Get-Item $file.FullName)).OpenRead()
    # Gather the file name
    $FileName = $File.Name
    #remove file extension
    $NewName = [IO.Path]::GetFileNameWithoutExtension($FileName)
    #split the file name by the "-" character
    $FileNameArray = $NewName.split("_")
    $check = $FileNameArray.Length
    #Add file
    $folder = $web.getfolder($docLibrary.rootFolder.URL)
    write-host "Copying file " $file.Name " to " $folder.ServerRelativeUrl "..."
    $spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stream]$fileStream, $true)
    $spItem = $spFile.Item
    write-host "Success"
    write-host "SP File:" $spFile
    write-host "SP Item" $spItem
    #populate columns
    $spItem["Column1"] = $FileNameArray[0]
    $spItem["Column2"] = $FileNameArray[1]
    $spItem.Update()
    $fileStream.Close();
    Again, I can run this on my local machine and it works just fine, but when I attempt to run it on the Azure environment I get this error...
    Get-Item : Cannot find path 'C:\powershellscripts\12653_B7045.PDF' because it does not exist.
    At C:\PowerShellScripts\Upload-FilesIntoSharePointTester.ps1:32 char:42
    +     $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
    +                                          ~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (C:\powershellscripts\12653_B7045.PDF:String) [Get-Item], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
    What strikes me first is the fact that the file its looking for is in the "C:\Upload\Test Upload\My Documents\" directory, but the error keeps saying "C:\powershellscripts\" which is where my script resides and not the files I want to
    upload into SharePoint. When I step through the code, all the variables are holding the correct values. The $localFolderPath shows the name of files that I am attempting to upload, so it recognizes them. But once I step through this particular line of code,
    the error occurs...
    $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
    Is this an error caused because I am remoting into the Azure environment? Has anyone dealt with this issue before? I would really appreciate the help. Thanks
    Update: quick thing I noticed is that these two lines of code are returning null values. Again, is this handled differently in Azure or remotely? I ask cause this is the way I know how to do this, locally.
    $docLibrary = $web.Lists[$docLibraryName]
    $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()

    "...square brackets are wildcard characters in Windows PowerShell..."
    When you use cd without a parameter it uses the -Path parameter. In this case you'll have to escape the square brackets so they are not considered wildcards. Each of the commands in the first example does the exact same thing.
    cd 'Learn PowerShell `[Do Whatever`]'
    cd -Path 'Learn PowerShell `[Do Whatever`]'
    cd (or Set-Location) also has a literal path parameter (-LiteralPath) that does not require using an escape character (`) before each of the brackets. Hope this helps.
    cd -LiteralPath 'Learn PowerShell [Do Whatever]'

  • Iphoto wont open,keep getting Alert:The photo IMG_3515.jpg could not be opened,because the original item cannot be found. It opened fine two days ago. Any suggestions? iPhoto 9.3.2

    iphoto wont open,keep getting Alert:The photo IMG_3515.jpg could not be opened,because the original item cannot be found. It opened fine two days ago. Any suggestions? iPhoto 9.3.2

    No changes were made. I saw in one of the threads where someone said to repair the database(which didn't work) or Rebuild the database(which did work). Thanks to one all for the support.
    WP

Maybe you are looking for

  • Question on SWF animation and timing

    I am trying to do a single splash page for an event. Every thing is working OK except I want a button link to a registration site to drop into the frame after about 20 seconds on page load. This isn't a problem except that I have a audio track that p

  • Email steps

    Hi,         Can any body help me that, i have written a program in ECC(SAP) system and using SCOT (t.code) that when an idoc posts the purchase order data  in ECC system through XI an email with attachment of Purchase order data should be sent back t

  • What is in bound and outbound.

    what is in bound and outbound.

  • Lenovo G550 upgradation

     Hi, I purchased the Lenovo G550 laptop with 3GB(2GB+1GB) RAM with Intel core 2 dual processor. 1. Now I am planning to upgrade by RAM size to 6GB(2GB+4GB) RAM may I know is model (Lenovo G550) supports. 2. I heard that we can upgrade it but we can't

  • Syncing iOS and macbook contacts?????

    Is it asking too much to be able to have synced contacts?I know that Microsoft obviously has a vested interest in helping only Microsoft customers, but face it, Apple people use skype also, as problem laden as it is, it is still used. My main quandar