How to add metadata

Hi Team,
We have a req where we need to modify the existing metadata with an additional Custom Dimension. We need to add close to 300 members along with property under this custom dimension...How should i do it??
Manually adding members through web client is difficult.Please suggest me an option..
Thanks in advance

Hi,
I wrote this. It 's knotty but it works and it puts apostrophes, because I delete them by another macro in order not to miss them in the elements names.) So you need to delete aphostrophes or they will duplicate in columns header names.
Const Delimiter = "|"
Const MetadataVersion = 1
Sub ExportDataToTxt()
    Dim lLastRow As Integer, lLastCol As Integer, c As Range, Ran As Range, Str As String, Apostrophe As Boolean, DelimiterCount As Integer
    Apostrophe = False
    lLastRow = Cells(1, 1).SpecialCells(xlLastCell).Row
    lLastCol = Cells(1, 1).SpecialCells(xlLastCell).Column
    DelimiterCount = 0
    Dim fileSaveName As Variant
    fileSaveName = Application.GetSaveAsFilename("Metadata_" & MetadataVersion, fileFilter:="HFM metadata files (*.ads), *.ads")
    If fileSaveName = False Then
        Exit Sub
    End If
    Dim fs As Object
    Dim DataFile As Object
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set DataFile = fs.CreateTextFile(fileSaveName, True)
    Set Ran = Range(Cells(1, 1), Cells(lLastRow, lLastCol))
    Str = ""
    For Each c In Ran.Cells
        If c.Column = 1 Then
            If Apostrophe Then
                Str = "'"
             Else: Str = ""
            End If
        End If
        Str = Str & c.Value & Delimiter
        If c.Column = lLastCol Then
            If Apostrophe Then
                Apostrophe = False
                Str = TrimDelimiters2(Str)
                DelimiterCount = CountSymbols(Str, Delimiter)
            End If
            If Left(Str, 1) = "!" Then Str = TrimDelimiters(Str, DelimiterCount)
                Str = TrimDelimiters(Str, DelimiterCount)
                If Len(Str) = CountSymbols(Str, Delimiter) Then Str = ""
            DataFile.WriteLine (Str)
            If Left(Str, 1) = "!" And InStr(Str, "!FILE_FORMAT") = 0 And InStr(Str, "!VERSION") = 0 Then Apostrophe = True
        End If
    Next
    DataFile.Close
End Sub
Public Function TrimDelimiters(S As String, quantity As Integer) As String
    Dim i As Integer, c As Integer, Bool As Boolean
    Bool = False
    For i = 1 To Len(S)
        'If Mid(s, i, 1) <> Delimiter Then C = i
        If Bool = False Then
            If CountSymbols(Left(S, i), Delimiter) = quantity + 1 Then c = i - 1: Bool = True
        End If
    Next
    If Left(S, 1) = "!" Or Len(S) = CountSymbols(S, Delimiter) Then
        For i = 1 To Len(S)
            If Mid(S, i, 1) <> Delimiter Then c = i
        Next
    End If
    If CountSymbols(S, Delimiter) = quantity - 1 Then
        For i = 1 To Len(S)
            If Mid(S, i, 1) <> Delimiter Then c = i
        Next
    End If
    If CountSymbols(S, Delimiter) <= quantity Then
        TrimDelimiters = S
        Exit Function
    End If
    TrimDelimiters = Left(S, c)
End Function
Function CountSymbols(S As String, char As String) As Integer
    Application.Volatile True
    Dim TestPos As Integer
    CountSymbols = 0
    TestPos = 1
    Do While InStr(TestPos, S, char) > 0
        CountSymbols = CountSymbols + 1
        TestPos = InStr(TestPos, S, char) + Len(char)
    Loop
End Function
Public Function TrimDelimiters2(S As String) As String
    Dim i As Integer, c As Integer   
    For i = 1 To Len(S)
        If Mid(S, i, 1) <> Delimiter Then
            c = i
        End If
    Next
    TrimDelimiters2 = Left(S, c)
End Function

Similar Messages

  • How to add metadata to split tracks

    I know how to do it to a single track but when i click on the next track it still show the name from the previous track. How to add metadata to split tracks for like a mixtape?

    Thanks for the screenshots, very helpful.
    Once you split them into different tracks, and each track is a different file on disk (as shown in your Windows Explorer / Finder screenshot), you'll want to:
    Go through each file
    Enter the desired metadata via the Metadata Panel (see below)
    Save each file
    If you're working with MP3 files, the relevant fields are the ID3 tags shown in this dialog:
    If you're saving as WAVE files, the relevant RIFF metadata fields are shown in this dialog
    Once you enter the info you want into those fields and the save the file, then it should show up in Windows Explorer which is what I think you're going for.

  • How to add metadata to .xdp form

    Hi,
    I am currently investigating how to add metadata to an xdp form in LifeCycle Designer. I have read the help contents that Adobe provide however I am unclear as to how exactly the metadata is included with the form. Are there specific elements that are included in the xml? Also is the metadata that is included specific to a field, area, etc within the form?
    The metadata I wish to include with the xdp form will contain information regarding the manner in which the form can be used at a later stage, for example whether a form can be printed. In this case I would envisage the following: <printable>true</printable> as part of many different elements within the metadata.
    If anyone can offer any insight into this it would be greatly appreciated.
    Thanks in advance.

    Thanks for the reply,
    The way you have described seems to be for individual fields. Is it possible to include metadata that applies to the whole form rather than just an individual field. I have been looking at manipulating the xml. I am not familiar with LiveCycle Designer and as such I was thinking that you could possibly add elements to the xml in the following section:
    <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.1-c041 52.337767, 2008/04/13-15:41:00        ">
       <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
          <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
             <xmp:MetadataDate>2009-05-15T08:01:47Z</xmp:MetadataDate>
             <xmp:CreatorTool>Adobe LiveCycle Designer ES 8.2</xmp:CreatorTool>
             <xmp:Name>Test1</xmp:Name>
             <xmp:Editable>True</xmp:Editable>
            <xmp:Printable>True</xmp:Printable>
          </rdf:Description>
          <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
             <pdf:Producer>Adobe LiveCycle Designer ES 8.2</pdf:Producer>
          </rdf:Description>
          <rdf:Description xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" rdf:about="">
             <xmpMM:DocumentID>uuid:59354ca2-6c12-4c0a-aefa-649133cd4486</xmpMM:DocumentID>
          </rdf:Description>
          <rdf:Description xmlns:desc="http://ns.adobe.com/xfa/promoted-desc/" rdf:about="">
             <desc:version rdf:parseType="Resource">
                <rdf:value>8.2.1.3158.1.475346.466429</rdf:value>
                <desc:ref>/template/subform[1]</desc:ref>
             </desc:version>
          </rdf:Description>
       </rdf:RDF>
    </x:xmpmeta></xdp:xdp>
    As you may see from the code snippet above I have added three elements: name, editable and printable. The information within these elements would be extracted at a later stage and used by another application to make decisions such as is the form printable, it the form editable etc. Do you know is this the correct place to be adding these elements? The addition of these elements does not cause an error within Designer so I am assuming that there should be no problem accessing / modifying these fields later? 
    Thanks

  • How to add metadata on import

    I can not for the life of me figure out how to add keywords on importing images. I have scoured the net looking for answers and cant find anything. I see the "Add Metadata from", but there is nothing underneath it where you can add information. The tutorial video from Apple shows fields underneath where you can add information, but I cant figure out how to get that to show up. This is driving me craaaazzzyy!! Any help sure would be appreciated!

    I'm having the same issue as the image in the previous post. Anyone else have this too or a fix?
    I am running 10.5.4 and the most recent version of Aperture w/ all updates
    I have read thru the suggestions and deleted the plist files with no fix.
    I also re-installed and the issue remains. The machine I am installing it on was just recently formatted and re-installed.
    This is very confusing, looking forward to any help or suggestions.
    Thanks,
    Ian

  • How to add metadata to multiple images via Template

    Hi
    Wonder if anyone can tell me if it is possible to add Metadata to multiple images using a metadata template.  I see that I can add to multiple using Organizer but with that you have to type in the metadata.  In Elements 11 I can do it using a template but only for 1 image at a time.
    Is there a way to do this in Elements 11 or Organizer?
    Thanks in Advance.

    In the File properties dialog of the editor you can enter your values in the metadata tabs, then use the 'Import' button on the bottom of the dialog, switch to 'Export' and that exports your values as a template.
    As far as I know, this is to be used in the advanced dialog of the downloader : you can use your templates at import time for a batch of images.
    Otherwise, when you have selected many images in the organizer, you can click on the 'Add IPTC data' button in the tags panel on the right side : you have to enter the data which will be applied to all the selected files.

  • How to add metadata into XDP form

    Hi,
    I am new to LiveCycle Designer. Wondering if there is a way to add PDF metadata into XDP form?
    I tried adding it into the XML source under the <x:xmpmeta> section, but the rendered PDF output file lost the metadata I added in the XDP.
    <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.1-c041 52.337767, 2008/04/13-15:41:00        ">
       <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
          <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
             <xmp:ModifyDate>2009-09-14T15:44:32+05:30</xmp:ModifyDate>
             <xmp:CreateDate>2009-09-14T15:44:31+05:30</xmp:CreateDate>
             <xmp:MetadataDate>2010-12-08T19:42:13Z</xmp:MetadataDate>
             <xmp:CreatorTool>Adobe LiveCycle Designer ES 8.2</xmp:CreatorTool>
          </rdf:Description>
          <rdf:Description xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" rdf:about="">
             <xmpMM:DocumentID>uuid:129e34eb-49a8-43f4-a934-43f67f5d6891</xmpMM:DocumentID>
             <xmpMM:InstanceID>uuid:ee103292-b266-4bb8-b1d1-71d29fe339e2</xmpMM:InstanceID>
          </rdf:Description>
          <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
             <dc:format>application/pdf</dc:format>
          </rdf:Description>
          <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
             <pdf:Producer>Adobe LiveCycle Designer ES 8.2</pdf:Producer>
          </rdf:Description>
          <rdf:Description xmlns:ABC="ABC (http://www.abc.com)" rdf:about="">
             <ABC:XYZ>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.abc.net/API/3.0"&gt;
    </ABC:XYZ>
          </rdf:Description>
          <rdf:Description xmlns:desc="http://ns.adobe.com/xfa/promoted-desc/" rdf:about="">
             <desc:version rdf:parseType="Resource">
                <rdf:value>8.0.1291.1.339988.308172</rdf:value>
                <desc:ref>/template/subform[1]</desc:ref>
             </desc:version>
          </rdf:Description>
       </rdf:RDF>
    </x:xmpmeta>
    Appreciated!
    lcfun

    Ohh, I see.
    But I think you can do this in a workaround with PDF, like the following.
    1. Load a form in Designer
    2. Delete possibly existing metadata in the XML Source <desc> ... </desc>
    3. Add fragment with the scripting for the metadata changes
    4. Save as PDF
    5. Close the PDF
    6. Reopen the PDF
    7. Save as XDP

  • How to add metadata to store N names?

    I need to add a text field to store names of people and can write N names separated each other, but I do not want to use a long text or memo field type.
    How can I do this??
    Thanks

    try option list feature for achieving this.
    how long is the name list?

  • How to Add metadata fields to available list in books

    I created text fields in a book project. I want to fill those text boxes with metadata linked to a specific photo.
    The choices in the Define metadata format list do not include my personalized matadata fields.
    Is there a way to manage this choice list?
    Thanks.
    Charly Qbec

    This question was related to Aperture 3.
    Indy 240

  • How to add xmp metadata to dae files

    How to add metadatas to 3D dae files...?
    The cad file used as an entry, the 2D files used as textures, environment, shaders...etc?

    Hi,
    Yes sorry about the "Acrobat Tag" , the question was more for the CS6 suite, and the management of DAE files in Bridge and Photoshop Extended in a CQ5 DAM workspace.
    But nevertheless, it should be cool if Acrobat X 3D could import directly Collada files...

  • How to put metadata in iweb?

    Anyone knows how to add metadata in iweb?
    I found something called iWebmore, a program made by a person out there, but it seems old (ilfe06?) and doesn't really cut it.
    Any good ideas how to do it?
    Ken

    Noone knows?
    If you don't want to use iweb more, then you open your published .html pages with a text editor and add whatever you want. You have to redo it every time you republish.
    If you are concerned about search engines, search the forum for Google or search engine to fine other discussions on the topic.

  • How to add localized (english, french, etc) metadata

    I found that i can access localized versions of an image metadata tag with Bridge scripting.
    This is great, except i don't know how to add different language tags in Bridge.
    I am exporting the metadata to an xml file and it would be great if i could have the title tag in two or three different languages.
    Thank you
    Balint

    Hi,
    You can add localized text via the XMPScript API. Use SetLocalizedText() on the alt-text property. For example:
    xmp.setLocalizedText(XMPConst.NS_DC, "title", "en", "en-US", "SomeEnglish);
    xmp.setLocalizedText(XMPConst.NS_DC, "title", "fr", "fr-FR", "SomeFrench");
    If you always supply both the generic, fr, and specific, fr-FR, tags then you should have no problems and a new entry will be added to the array unless there is already an exact match - in which case you would modify the entry.
    Hope that makes sense.

  • How can I add metadata to iWeb pages hosted on .mac?

    How can I add title/description/keyword metadata to my website?
    Is there an easy solution?
    I publish my site to my .mac account.
    Any direction would be appreciated. I work in the web marketing industry, so it bugs me not being able to add metadata to my site.
    Thanks!
    Macbook   Mac OS X (10.4.7)  

    So I find the folder: Welcome_files for example
    Then do I open up the Welcome.js file using text
    editor?
    When I add the metadata, then do I Save As and put
    the file back into the Welcome_files folder?
    Actually every page like Welcome has a Welcome.html file and then a folder "Welcome_files". The file you want to edit is the Welcome.html file. Not anything in the folder.
    Do I need to Publish again, or is that process
    automatic since the site is pulling from down from my
    iDisk?
    Nope don't publish again. That would just overwrite you changes again. Just save the file in the same place and you're done.
    Will I have to re-enter metadata every time that the
    page changes, or every time the site changes?
    Anytime iWeb thinks the page needs to be republished, your edited file will be overwritten.

  • Using photoshop elements 6.0 - converting raw photos files to dng, how/where do I add metadata?

    Using photoshop elements 6.0 - converting raw photos files to dng, how/where do I add metadata?

    Metadata can be added in Properties panel. select a file and hit Alt+Enter. It will open up Properties panel. You may drag drop tags on the media and do File > Write tags info to files to write tags in file metadata.
    Thanks
    Andaleeb

  • How do I add metadata in Pages 5.2?

    I can't seem to find any Information tab in the Inspector like there used to be, where you can add metadata to your document -- Author, Title, Description, Keywords. Has this function disappeared?

    I have voiced my opinioin that Pages 5.2 is so flawed that is unacceptable as a commercial product.  5.2 contains so many problems that is it useless for our purposes.  We have removed the app from our machines. 
    Another reason for not using Pages 5.2 is that we have found no way to turn off auto saving.  Consequently, if a document from Pages 4 is opened in 5.2, it will immediately be autosaved as a 5.2 file.  This means the file cannot be opened in Pages 4, and the backwards export function in 5.2 does not work. 
    Bottom line, Pages 5.2 is a hazard to use.  Pages 5 also lacks a very large number of features that were removed when Pages 5.2 was developed.  Many of these were highly valuable.
    As of now, we recommend that users remove this app from their machines and drop back to Pages 4.
    Furthermore, we recommend that the word about all of this be spread as far and wide and as quickly as possible.  We don't care about Apple, where some people should be fired on account of 5.2  We do care about fellow users of Pages 4.  That means spreading the word about defects and risks associated with usinig 5.2
    Some on this forum have pointed to varioius resources that provide technical solutions for problems that have been discussed here.  These pointers have been helpful. 
    However, as a veteran of the software business let me say this.  Under no circumstances should it be necessary to have to consult technical forums and read obscure Apple documents to figure out work arounds in what is supposed to be a finished, commercial grade product like Page.  This applies to inexperieced users AND professionals.
    Pages 5.2 is a textbook example of several things NOT to do with a commercial product.  The first is to remove features that make a subsequent release of a product LESS useful than the one before.  The next is to re-engineer the UI in a way that makes a product harder, not easier to use.  And the obvious one, NEVER release a product that has not been fully tested, as Apple has done with Pages 5.2
    The question I have been thinking about is the business issue.  Why on earth would Apple release a highly defective product into the user base.  There is one explanation.  Pages 5.2 is free.   This leaves the door wide open to follow on with a Premium product that works, maybe even a modestly enhanced verion of Pages 4 ... and sell it for a high retail price.  THAT makes perfect sense.

  • How do I add metadata to a PDF to specify the document's natural language?

    I have a PDF which isn't in US English. Can I add metadata to the document to say what language it is in?
    Is there a standard way of doing this?
    I see I can add Name:Value pairs to Custom Properties in Reader. Is that the right way of going about it? If so, what Name do I use?

    Are you sure you can add custom metadata properties? I'm surprised to hear that, because Reader is not usually capable to editing PDF files in such a way at all, and I wasn't able to insert such properties in Reader XI, even with the Extended Reader Rights applied to a file...

Maybe you are looking for

  • How to show/hide an indesign document in cs4

    Hi all, How to hide/show an indesign document in cs4. In cs3 , I am doing this using the following code -- IWindow* docWindow = Utils<IWindowUtils>()->GetFrontDocWindow( docRef.GetDataBase() ); //Schedule the command to show the layout window of orig

  • Using 'crossover' on mac to play PC games?

    Hi all, I would really like to play LOTR:battle for middle earth II on my mac. The problem is, its a pc game. I know there are a few applications that will allow me to use windows on my mac but I am worried about how this works. 1) If I install windo

  • Integration Builder Configuration. SRM/EBP ---- XI ------ SRM/SUS

    Hi Masters of SRM. could you please show how make the configuration in XI into Builder configurations the scenario is SRM/ebp - > XI - > SRM/SUS any guide because I have the guide for the ERP----> XI - >SUS. but does not my requirement. the both syst

  • Server exception during PPR #1

    Hi, I use JDeveloper 11g and for the model component I use EJB 3. I want to use a list of values to show list of items from another table, but it doesn't work. I have this error: server exception during PPR #1. What's the pb?! Thank u

  • Publish live video & play

    Hi all, i use the code below to publish my cam, and i can play it in the same application. Then i copy and renamer it videoPlayer2.as then i use displayPlaybackVideo(); method but it says "TypeError: Error #1009: Cannot access a property or method of