Unable to set some Aperture metadata fields

I've had a few minor problems with Aperture 3.2.3 lately while trying to tag a whole lot of photos from a recent holiday.
I have been trying to set a number of fields and this morning I was looking at using the IPTC Image Location field.
Initially I tried to set the field and then create a smart album based on it. The smart album was coming back empty. Then after quitting out of Aperture and restarting the program, I noticed that the values from that field are gone and I can't seem to make any changes to it stick with either batch change or a change to individual images.
This is in addition to a problem I was having a few days ago where a ful text search wasn't returning anything when it should have been.
Any suggestions? I tried repairing the database the other day but that didn't have any noticible effect. Maybe I'll have to try a rebuild instead?

Hi,
on my system setting the IPTC Image Location field works without any problems, on single images and with batch changing as well.
Does the problem only occur with one of your Aperture Libraries, or also, if you create a new test library and import some images there?
And what happens if you work from a different user account, e.g. the guest account?
Is the problem restricted to certain image formats or independent of the format of your images?
Just trying to figure out, if the problem is system wide or restricted to your user account or a single library.
Regards
Léonie

Similar Messages

  • Unable to  set some dates  in Adobe bridge cs2

    HI ALL
    Our keywording team using  the  Adobe bridge CS2.
    Kindly  hep me to understand Why  some dates  Like
    1/1/1970
    1/1/1642
    1/1/1890
    etc  .....
    I unable to  set in  ITPC image Tab  information .............
    Lakhan

    Hi
    Thanks for revert ......
    I  tried   with  CS2 & CS3  but only  specific  dates like (1/1/1970) i above  mentioned  is still  not   reflecting in IPTC image  info   ........
    Please suggest....

  • Set filename to metadata field

    I'm currently in the process of building a Final Cut Server workflow.
    One part in the workflow is to trancode an asset to MPEG2 for broadcast. We use conventional filenames, so if we trancode the file should get a given filename and title. In FCSRV I created a metadatafield called 'filename'.
    I already succesfully created a subscription which encodes the file to MPEG2 if a metadata field is set on 'true'. But now I want to add to that subscription that the filename and the asset's title are set to the specified metadatafield. Is this possible?

    Another update:
    I just tested it using the direct location to the file:
    Command: /bin/cp
    Parameters: /Volumes/Xsan/Media/test.mov /Users/accountname/Desktop
    And this command actually works.
    So there must be something wrong with the parameters I'm using
    So I tried the following:
    Parameters: [[File Name]] /Users/accountname/Desktop
    this results in a "no such file in directory" notice. On the other hand the [[File Name]] is replaced by the right filename.
    So I thought, I must get the location of the file to get I good copy action.
    I eventually got this working:
    Parameters: "/Volumes/Xsan/Media/[[File Name]]" /Users/accountname/Desktop
    The brackets are mandatory.
    But I think this could be made easier using also fields from Final Cut Server, like:
    "[[Local Directory]]/[[File Name]]" /Users/accountname/Desktop
    The [[local directory]] is the field in FCSrv where the device location is stored, but the parameter is not recognized by FCSRV. Is there another way to get the path where the file is stored?
    Next step I'm investigating now is to change the filename by a custom field in Final Cut Server.
    I'll keep you posted.
    Message was edited by: StefSOFT

  • Unable to set some Signatures back to IDS 4 Default.

    I am in the process of performing the upgrade on the 4210 from 4.x to 5.x. When trying to set the signature back to the IDS 4 defaults the "param src" field still shows the Sensor rather then IDS 4 Defaults. The "prop src" shows the "IDS 4 defaults". I was able to perform the same process for other signatures which seem to work for those but these few I cannot change back and the upgrade continuously fails since the are not back to the defaults.
    Any Ideas?

    These are the CLI commands for resetting 4.x signatures back to default:
    reset signatures
    conf t
    service virtual-sensor-configuration virtualSensor
    tune-micro-engines
    reset-signatures
    Don't forget about any custom sigs you have on your sensor. Some convert to 5.x ok, others need to be removed.

  • What is the easy way to update Managed Metadata field multi select values using client object model C#?

    The below mentioned code works sometimes and doesn't most of the time. What is the real best way to update multi select managed metadata fields?
    Microsoft.SharePoint.Client.File file = site.GetFileByServerRelativeUrl("/sites/myspsite/Documents/Presentation2.pptx");
    clientContext.Load(file);
    clientContext.ExecuteQuery();
    ListItem currentItem = file.ListItemAllFields;
    clientContext.Load(currentItem);
    clientContext.ExecuteQuery();
    currentItem["Country"] = "-1;#India|1d13cfe9-d6f4-4bd3-a6c7-4b46a81f2a96;#-1;#China|9c1dff73-82db-44b1-8d70-f4258dd24e47;#-1;#USA|b9295c0b-67d4-4dc5-99d4-e88af888de48";
    currentItem["Title"] = "Demo Doc";
    currentItem.Update();
    clientContext.ExecuteQuery();
    file.CheckIn("test check-in", CheckinType.MajorCheckIn);
    clientContext.ExecuteQuery();
    Anuradha!!

    Hi,
    Here are two blog for your reference:
    How to Work with Managed Metadata Columns by Using the SharePoint Client Object Model
    http://blogs.msdn.com/b/sharepointdev/archive/2011/11/18/how-to-work-with-managed-metadata-columns-by-using-the-sharepoint-client-object-model-kaushalendra-kumar.aspx
    SharePoint 2010 Code Tips – Setting a Managed Metadata Field with the Client Object Model
    http://sharepointfieldnotes.blogspot.com/2011/08/sharepoint-2010-code-tips-setting.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Fcsvr_client | xml export of all assets | set metadata field of specific asset

    Hey folks,
    we are switching to another mam but we still need fcsvr for some time.
    So do you guys know if there is a terminal command for the following requirements!?
    (1)
    export an xml file for every asset with every mdValue fieldname like
    location, file name, creation date, our custom fields aso. (this will be imported to the new mam)
    (2)
    setting a metadata field of an specific asset in fcsvr
    for example:
    set
    <mdValue fieldname="Checked" dataType="string">not checked</mdValue>
    to
    <mdValue fieldname="Checked" dataType="string">is okay</mdValue>
    or
    <mdValue fieldname="Checked" dataType="string">edit needed</mdValue>
    I need to do this with an terminal command, not by subscription oder schedule.
    Do you have any ideas?
    Kindly regards

    Looks like your xml is missing an open and a close. Try this:
    <?xml version="1.0"?>
    <session>
    <values>
    <value id="CRIT_TYPE">
    <int>3</int>
    </value>
    <value id="CRIT_INTERSECT">
    <valuesList>
    <values>
    <value id="CRITCMPVALUE">
    <value id="ASSET_NUMBER">
    <bigint>5000</bigint>
    </value>
    </value>
    <value id="CRITCMPOP">
    <atom>gt</atom>
    </value>
    <value id="CRIT_TYPE">
    <int>1</int>
    </value>
    </values>
    </valuesList>
    </value>
    </values>
    </session>
    Worked great for me!

  • Set some field's disable on runtime.

    Hi,
    It is possible to set some fields of the interactive forms disable or (read-only)?
    Thank you in advance

    Hi,
    Thank you for the reply,
    But i can change ? In the web dynpro or inside the adobe interactive form with javascript ?
    Best Regards.
    Miguel Silva

  • Set metadata field with current user

    I would like to have a Response that would set a field with the current logged in user. (This would be triggered by a Subscription)
    I am using a Response Action of "Set Asset Metadata".
    I have tried entering:
    [Name]
    [USER_NAME]
    [Username]
    and so on but the field just puts in the text not the user. Is it not possible to copy from one metadata field to another in a Response Action?

    Variable insertions only work for fields that are part of the Asset, Production, or Job that is triggering the Subscription. The only one of those that would reference a user is a Job Subscription. Jobs have a field called \[Owner] that lists the user that caused the job to happen. Of course, this is only viable for actions that cause a job to occur, such as downloads, exports, analysis, archive, or recovery.
    Unfortunately, Set Asset MD will not be of any use in a Job Subscription since there is no asset to set metadata upon when you are subscribing to a job. Long story short, you will not be able to do what you are describing automatically.

  • Unable to set working directory (-2147024832) for some app installs

    I've found several drivers on a Dell Laptop that don't play well with others in MDT 2012, so I started making an application install package for them instead.  Most of them fail with an "unable to set working directory" error.  I checked
    the app install logs and they don't really make any sense to me.  I know the process as a whole works, because I can install .Net 4.0 runtimes without any problems using the same method.  The important bits of the ZTI App log are below.  Would
    be for any guidance on this, as I'm stumped and none of the searches on the exact errors are of much help.
    A sample error returned in the wizard is:
    WARNING - unable to set working directory (-2147024832)Error installing application Dell 3440_Chipset_Driver_JD3WN IMEI drivers 9.5.3.1520_A00: The system cannot find the file specified.
    The ZTIApplication.log file contains the following... the first is one that works (.NET 4), the second is one that fails. (Not using code block for this one, it doesn't like it).
    <![LOG[Validating connection to \\ITSASERVER\DeploymentShare$\Applications\Microsoft .NET 4.0 runtime 4.0]LOG]!><time="08:20:30.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1"
    thread="" file="ZTIApplications">
    <![LOG[Already connected to server ITSASERVER as that is where this script is running from.]LOG]!><time="08:20:30.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[ Change directory: \\ITSASERVER\DeploymentShare$\Applications\Microsoft .NET 4.0 runtime 4.0]LOG]!><time="08:20:30.000+000" date="09-27-2013" component="ZTIApplications"
    context="" type="1" thread="" file="ZTIApplications">
    <![LOG[ Run Command: \\ITSASERVER\DeploymentShare$\Tools\X64\bddrun.exe dotNetFx40_Full_x86_x64.exe /norestart /passive]LOG]!><time="08:20:30.000+000" date="09-27-2013"
    component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[ZTI installing application ]LOG]!><time="08:20:30.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Event 41031 sent: ZTI installing application ]LOG]!><time="08:20:30.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[About to run command: \\ITSASERVER\DeploymentShare$\Tools\X64\bddrun.exe dotNetFx40_Full_x86_x64.exe /norestart /passive]LOG]!><time="08:20:30.000+000" date="09-27-2013" component="ZTIApplications" context=""
    type="1" thread="" file="ZTIApplications">
    <![LOG[Command has been started (process ID 3212)]LOG]!><time="08:20:30.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[ZTI Heartbeat: command has been running for 0 minutes (process ID 3212)]LOG]!><time="08:20:31.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes (process ID 3212)]LOG]!><time="08:20:31.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1"
    thread="" file="ZTIApplications">
    <![LOG[Return code from command = 0]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Application Microsoft .NET 4.0 runtime 4.0 installed successfully]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Event 41033 sent: Application Microsoft .NET 4.0 runtime 4.0 installed successfully]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[Property InstalledApplications001 is now = {9abb5842-9a8e-45c5-9268-4fa4e69dba34}]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[Application Microsoft .NET 4.0 runtime 4.0 needs a reboot, initiating.]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[Dependent application requested a reboot]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Property SMSTSRebootRequested is now = true]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Property SMSTSRetryRequested is now = true]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Exiting to initiate a reboot with retry (to pick up where we left off)]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[ZTIApplications processing completed successfully.]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Event 41001 sent: ZTIApplications processing completed successfully.]LOG]!><time="08:23:48.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[################]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Entry: {dee65f94-e269-4eac-927d-6e06c0e0eb9d}]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Name:  Dell 3440_Chipset_Driver_JD3WN IMEI drivers 9.5.3.1520_A00]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[################]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Validating connection to \\ITSASERVER\DeploymentShare$\Applications\Dell 3440_Chipset_Driver_JD3WN IMEI drivers 9.5.3.1520_A00]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context=""
    type="1" thread="" file="ZTIApplications">
    <![LOG[Already connected to server ITSASERVER as that is where this script is running from.]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[ Change directory: \\ITSASERVER\DeploymentShare$\Applications\Dell 3440_Chipset_Driver_JD3WN IMEI drivers 9.5.3.1520_A00]LOG]!><time="08:25:04.000+000" date="09-27-2013"
    component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[WARNING - unable to set working directory:  (-2147024832)]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="2" thread="" file="ZTIApplications">
    <![LOG[ Run Command: \\ITSASERVER\DeploymentShare$\Tools\X64\bddrun.exe Setup.exe -s]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications"
    context="" type="1" thread="" file="ZTIApplications">
    <![LOG[ZTI installing application ]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Error executing web service http://ITSASERVER:9800/MDTMonitorEvent/PostEvent?uniqueID=2a0f4469-d803-4976-b434-adbf06b85c23&computerName=Lat3440_0927b&messageID=41031&severity=1&stepName=Install Applications&currentStep=61&totalSteps=88&id=4C4C4544-0031-4610-8053-B7C04F4C5731,E0:DB:55:AC:48:1C&message=ZTI
    installing application &dartIP=&dartPort=&dartTicket=&vmHost=&vmName=: The server name or address could not be resolved
     (-2147012889)]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Event 41031 sent: ZTI installing application ]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[About to run command: \\ITSASERVER\DeploymentShare$\Tools\X64\bddrun.exe Setup.exe -s]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread=""
    file="ZTIApplications">
    <![LOG[Error installing application Dell 3440_Chipset_Driver_JD3WN IMEI drivers 9.5.3.1520_A00: The system cannot find the file specified.
    ]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="3" thread="" file="ZTIApplications">
    <![LOG[Error executing web service http://ITSASERVER:9800/MDTMonitorEvent/PostEvent?uniqueID=2a0f4469-d803-4976-b434-adbf06b85c23&computerName=Lat3440_0927b&messageID=41032&severity=3&stepName=Install Applications&currentStep=61&totalSteps=88&id=4C4C4544-0031-4610-8053-B7C04F4C5731,E0:DB:55:AC:48:1C&message=Error
    installing application Dell 3440_Chipset_Driver_JD3WN IMEI drivers 9.5.3.1520_A00: The system cannot find the file specified.
    &dartIP=&dartPort=&dartTicket=&vmHost=&vmName=: The server name or address could not be resolved
     (-2147012889)]LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    <![LOG[Event 41032 sent: Error installing application Dell 3440_Chipset_Driver_JD3WN IMEI drivers 9.5.3.1520_A00: The system cannot find the file specified.]
    <![LOG]!><time="08:25:04.000+000" date="09-27-2013" component="ZTIApplications" context="" type="1" thread="" file="ZTIApplications">
    Why can't it find it or set the working directory, especially when it's already validated that it's there?  
    --smthng

    I'm not familiar with how Dell does their client side software, but for the server-side software (my area of expertise), I've always done something like the following:
    I recommend running every application install in a VBScript/Powershell wrapper.  You get logging for the application back on your SLShare as well as its cleaner (you can replace Drivers A05 with A06 by changing the script, rather than editing the application
    in MDT).
    sApplicationName = "Dell 12G Chipset"
    oLogging.CreateEntry "Install-" & sApplicationName & ": Starting " & sApplicationName & " installation", LogTypeInfo
    '//Set Destination Folder
    sDestFolder = "c:\temp\"
    '//Set Source Install Directory
    sSourceDir = oUtility.ScriptDir
    sSourceDir = sSourceDir & "\Source"
    '//Check that folder exists, if not, create it.
    oLogging.CreateEntry "Install-" & sApplicationName & ": Check that " & sDestFolder & " exists.", LogTypeInfo
    if not oFSO.FolderExists (sDestFolder) then
    oFSO.CreateFolder sDestFolder
    End If
    '//Copy folder from MDT share to C:\Temp
    oLogging.CreateEntry "Install-" & sApplicationName & ": Copy from " & sSourceDir & " to " & sDestFolder, LogTypeInfo
    oFSO.CopyFolder sSourceDir, sDestFolder
    '//Sleep for 2 seconds to allow copy to finish
    wscript.sleep 2000
    sFile = sDestFolder & "Source\setup.exe"
    '// Check if file/folder exists
    If not oFSO.FileExists(sFile) then
    oLogging.CreateEntry "Install-" & sApplicationName & ": " & sFile & " was not found, unable to install " & sApplicationName & "", LogTypeError
    ZTIProcess = Failure
    Exit Function
    End if
    '// Create log entry to show file being run
    oLogging.CreateEntry "" & sFile & " -s", LogTypeInfo
    iRetVal = oUtility.RunWithHeartbeat("" & sFile & " -s")
    if (iRetVal = 0) or (iRetVal = 3010) then
    ZTIProcess = Success
    Else
    ZTIProcess = Failure
    End If
    wscript.sleep 15000
    '// Disable Zone Checks
    oEnv("SEE_MASK_NOZONECHECKS") = 1
    '//Folder Cleanup
    oFSO.DeleteFolder sDestFolder & "Source"
    I always copy any drivers that are installed after the fact (everything for me other than SAS/NIC drivers) to the C:\Temp as it can break.  I always update my NIC drivers during the build to the latest Dell software using their packs.  I try to
    not mess with my boot image unless I'm adding a new model that is not supported by the built-in drivers.

  • Restricting access to metadata field for some people

    Hey
    Our users have suggested that they would like to restrict the rights to a specific metadata field so that only a few people can do the update. In playing around with this idea, I can see how I might be able to do it through a criteria workflow, but it would be complicated and clunky. Does anyone have any suggestions for other ways of doing this?
    Regards,
    A

    > I was afraid that it might be a customisation.
    This one should be quite simple
    If I were you I would not bother with metadata editing here. Simply add a new Content Action that will call a service modifying the value for you. Note that you will need two actions: Replicate / Discard replication and those options will display only to those users that are authorized to use them. If you want, you might also perform a security check when the service is called (e.g. if somebody tries to call the service directly, not just use the menu action). However, be aware that since you defined your check as metadata, users without authorization still can modify it, if they switch to Full information during Update.

  • Editing Autofill List for Custom Metadata Fields

    I have 13,000+ photographs cataloged in Aperture 2.1 In an effort to better manage these photographs, I have added custom metadata for my own use. The fields let me know whether I have printed for my portfolio, watermarked, added to my web site, status of release, etc. All of this data is manually entered and at times my fingers don't always hit the correct keys on the keyboard so I end up with autofill data that is incorrect. I have been unable to find a way to edit the autofill data for custom metadata fields. Selecting 'Edit Autofill List' does not give me access to my custom field autofill information. Am I missing something? Is this an oversight on my part or on the part of the application?

    Unfortunately I'm not using presets to do this. I don't think presets will help me with this, but it could be just that I don't understand presets that well. I use presets for entering Metadata from a shoot as I 'import' the raw files into Aperture. Maybe I'm trying to do something that Aperture was never intended to do, yet I need to have as few locations where I track
    As an example, as I print a photograph for my portfolio I mark one of the custom fields labelled 'Printed' as 'Yes'. Later I can locate those 4 or 5 star photographs that haven't been printed and decide if I want to print them. I use the same type of arrangement for my website with an 'Added to web' indicator as 'Yes'. I may also mark that 'Printed' field as 'N/A'. The reason follows. For watermarking photographs before adding them to my site via iWeb, I export and the photographs and then reimport the watermarked photographs into a separate project but since these photographs are at a lower resolution, have a different color profile and are jpegs, I never print them for my portfolio so I mark them 'N/A' in the 'Printed' field. Well my fingers do slip on the keys and before I realize it the nifty autofill now requires that I type not just the 'N' to get an 'N/A', but I must type it all, because one time I typed 'N and a space' or some such and that is what autofills. It even happens with 'Yes'. I suppose the real answer is to be more careful as I type, but that is not my reality.
    So, all I'm looking for is a way to have access to the autofill list that is created for my custom metadata fields so that I can delete the erroneous autofill entry. I've thought about deleting the field entirely and recreating it, but that would remove all those indicators or flags that I have already entered for my photographs.
    Alternatively I could find an IPTC field that I am not using and find a way to use it, (because those fields have autofill lists that can be edited). However my record keeping would be exported with the photograph. Some of the information that I collect is private and should not be included in the metadata while other information should be; that is why I've settled on custom metadata fields.
    I hope there is a simple answer to this that I'm overlooking.
    If someone else has another way of tracking this same information that is better than the custom metadata fields, I would like to hear about it. However, it would mean reworking all my photographs that Aperture currently manages.

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • Unable to set a top-level property object

    Hey guys
    I've made a little sequence to fetch data from a XML file. In that XML file, there is some informations (entries) (IP addresses, port numbers, etc) about 4 different types of devices(sections are the devices names). The first section of the XML tells me the NAMES of the devices I have to configure. The type of each device is located in the entries of each device. Each device has its own information and I can have more than one device of a type. In teststand, I've created custom data types (containers with empty fields) for each type of device I need.
    I want to dynamically create the devices that the XML file tells me to configure as fileglobal variables and populate them with their own config informations (entries of the XML file). I'm creating new fileglobal of the type I want using PropertyObject step and I'm creating an alias of that fileglobal that I'm passing in parameter to a subsequence who's getting infos from XML. Here, everything is OK.
    The problem occurs when I want to configure 2 or more objects of the same type. At the SetProperty step (where i'm creating the fileglobal variable) teststand gives me the error:
    "Unable to set a top-level property object to another object. Error accessing item 'Parameters.DeviceToInitStruct'."
    Is there any ways to avoid that problem and creating to variable of the same type ?
    thanks

    Hi
    I finally got rid of that problem.
    Instead of using a PropertyObject.Clone step, I used a statement who's just copy the "MasterObject" into a "CloneObject" and i'm working with that copy. So the sequence can now create devices of the same type without any conflict with the first device.
    i'll post here a short example to show how i did... maybe it'll be useful for someone...
    regards

  • Unable to set header status - VBUK-UVALL in USEREXIT_SAVE_DOCUMENT_PREPARE

    Hi,
    I need some advice in setting header status in table VBUK field UVALL in user exit MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE. I am unable to set this field in this userexit.
    I create an enhancement implementation in user exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ. In my enhancement code, I have a perform statement which is in a Z include program. In my perform statement, I check a condition, if the line item text is not populated, then  I would like to set XVBUK-UVALS to B. In the code, I set the fields as follow :
    XVBUK-UVALS = 'B'
    XVBUK-UPDKZ = 'U'.
    After the sales order is saved, when I checked in table VBUK-UVALS, the field is not updated.
    Could anyone please provide me with some advice on how I could set the status in VBUK-UVALS in the user exit ? Should I be using another user exit ?
    Any advice would be much appreciated.
    Thanks,
    Virginia

    Hi,
    Similiar to the statements given by you add following statements.
    VBUK-UVALS = 'B'
    VBUK-UPDKZ = 'U'.
    Regards
    Vinod

  • Metadata - Issue Can You Customize Apertures Metadata to work with Bridge

    I am a photographer and my workflow is to import all my images into Aperture library and add metadata. When exporting image is it possible to integrate the data with Bridge? This is important feature as most people do not import images with Aperture. The issue is that many of the field names are different or non existent between the two programs. For example Location in Bridge is Sub location in Aperture. Can you add contact info such as URL, email that are included within Bridge?
    Is there a way to customize the metadata fields to work with CS3?
    Any advise is greatly appreciated
    Message was edited by: Keith254
    Message was edited by: Keith254

    Hello Dhruser1,
    I think that the DAQmx Perform Bridge Offset Nulling Calibration should work for the SCC-SG24 module.  Take a look at this article:  Removing Large Initial Offset for Load Cell or Strain Measurements with SCXI-1520 or PXI-4220 in particular it mentions that using this VI in addition to the auto zero can introduce an offset.  If you're doing both these is likely the cause.
    Also, when you specify specific channels using the channels input are you also setting the "skip unsupported channels to false?  If not this may be why it affects other channels.
    I hope this helps, and if not please feel free to post back with an update after trying these things.
    Cheers,
    Brooks

Maybe you are looking for

  • Problem with timestamp in query

    I have problem with timestamp in JPA query. I wonna select all data from database where difference between two timestamps is more than 3 month. Database: ID timestamp1 timestamp2 1 20008-11-19 15:02000 20008-08-19 15:02000 2 20008-11-19 15:02000 2000

  • Enterprise Manager is not able to connect to the database instance. The sta

    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below. Listener is shown as unavailable. lsnrctl status LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-NOV-2012 11:52:40 Copyright (c

  • Sun Fire V250 Error while booting

    Dear all, I have one Sun Fire V250 which was down for fews days and when I booted now it gives the following messages after booting. Is it the problem with the memory modules. It has 2 DIMM with each of 1 GB. Thanks in Advance sc>+ sc> poweron+ SC Al

  • IPhoto trouble on Macbook Pro. Please help!

    I have reached max capacity on memory on my macbook. Bought an external hard drive to back up all of my pictures and to clear up room on my computer. I did this two days ago. Since then, I have not been able to open iPhoto. When I do, I get this mess

  • Form Field Appear on Value Entered

    I am running Coldfusion 9 and building a website using Dreamweaver from CS5. Is there a way to make a form field appear only if a certain value was entered into the previous form field? If so how? For example I am creating a registration page and one