Using keyword within uicontrol

Hello again,
I have another "Best Practices" question that is causing some debate at my organization.
DITA allows the use of the <keyword> element within <uicontrol> and several other User Interface elements (not <wintitle>). Authors are split as to whether it is a best practice use a variable for the product name and then use that variable within a <uicontrol>.
I have no problem using a variable for the product name and actually encourage other writers to do so. I do have an issue with using any variable within the <uicontrol>. A <uicontrol> is static text on the product console and any changes to the UI control should be manually applied. I view the manual updating of both the console and the <uicontrol> elements in the documentation as a necessary quality control step.
Using the variable in the control allows for more chance of inconsistency between the document and the console. Just because the product name changes, that does not mean that the developers will catch every instance on the UI, or that every control will maintain its previous wording.
Have any best practices been developed relating to the use of variables within user interface controls?
Thanks,
Mike

Hi Mike...
I'm not aware of any "best practices" in this regard, but I do agree with your concern. It sounds like you're using keyrefs with the keyword element? You can use that feature with other elements as well. What might make sense is to set up key definitions (or conrefs fpr DITA 1.1 folks) that are specific to uncontrol elements and are separate from other keywords (or other "variable" instances). That way you can control common variables separately from those that may not update in sync with others.
In fact (in an ideal world), you could set up a key definition or conref source file that defines all of the UI strings, and this file is shared between development and techpubs so you're always sure that the strings are in sync. I know this can be hard to coordinate and get buy-off, but it would be a nice situation. Perhaps you can start this trend in pubs by having the UI strings defined in a separate file .. you could even generate that file from the "source code" to ensure that the strings are in sync.
Cheers,
...scott

Similar Messages

  • How to quickly reassign previously used keywords

    I'm using Adobe Bridge CS6.
    My problem is that I have something like 3000 images, in several folders, to apply keywords to, and the keywords happen to be the names of the people appearing in those photos, and I cannot find an easy way to reapply existing keyword assignments. Let me explain:
    Some photos will be a single person, others 2 or 3 in a shot, others maybe 6-8 people. And they appear in constantly changing configurations. For example, "John" may appear alone in photos 1-20, with "Peter" in photos 21-22, with "Sandy" and "Peter" in photos 23-30, "Peter" and "Sandy" alone without "John" in photos 31-70, and "John" by himself alone in photos 71-150, etc., with 500-1000 photos per folder. It gets really tedious when you have a group of 6-8 people that is seen occasionally or partially, interspersed with headshots of single individuals. While I have all of their names set up in a master keyword list, the master list itself has maybe 250 keywords in it, and it is painfully slow and tedious to either scroll up and down to the correct names, or to use the search box at the bottom of the keywords panel, each time the mix of persons in a photo changes. (The search is probably faster, but still slow.)
    What I would love to have is a panel that showed ONLY the keywords (names) that I've used for the current folder's photos, which would let me apply them to new photos with either a single click (hallelujah!) or maybe drag-and-drop. This is because the currently used keyword list, if it existed, would be so much shorter than the master list, so that all the necessary keywords would always be in view and easily accessible.
    What is maddenly irksome is that the currently assigned keywords appear almost within reach in the filter panel ... but alas, it is not possible to use that panel to assign those keywords to new photos.
    I don't know if what I'm hoping to do is even possible in the current version. But maybe it is, or maybe someone here has some advice to make the process less frustrating.

    What is maddenly irksome is that the currently assigned keywords appear almost within reach in the filter panel ... but alas, it is not possible to use that panel to assign those keywords to new photos.
    You can export your current keyword list as back up and create or import a temporarily dedicated shorter keyword list.
    But if you look at the metadata panel IPTC Core there is also the option to show the keywords applied to the image (if they don't show use the setting in Bridge Preferences Metadata Tab to select it to show)
    Drag and drop is not possible but copy past is an option. Using collections you can select the files you want to apply the same keywords to, and when your search result is complete select the file that has all the correct keywords, copy the complete line of keywords, select all and paste the info in the same line to apply al keywords in one go to all selected files.
    Is that about what you are looking for or am I completely misunderstanding your wish?

  • Using keywords for multiple folders

    I'm working with a photo archive consisiting of a large number of folders and subfolders. I'm wanting to use keywords to filter my images, but I'm finding that it's not possible unless I select a single folder containing images. Is there a way around this?
    For example can I just select my "Photos" folder and have it filter the images in all of the folders and sub folders contained within. I work at a university so I have folders within the folder "Photos" named things like "Academics" and within "Academics" I have folders for each academic field. Sometimes I'm just looking for a good shot of a professor in a classroom setting and don't really care which academic field it's from and this would be a huge help.

    I'm wanting to use keywords to filter my images, but I'm finding that it's not possible unless I select a single folder containing images. Is there a way around this?
    The quick search field top right in Bridge Window only works on the folder that Bridge is pointed to.
    What might be a better way for you would be the actual Find command (menu Edit/ Find or cmd + F on a Mac).
    This brings up a dialog with more options. At source you can select your main photo folder. Choose one or more criteria and check include subfolders.

  • Tutorial Announcement .:: Searching News Using Keywords ::.

    hello friends
    Today i made this new tutorial about searching database using "KEYWORDS", searching by keywords will give you the ability to search through many tables in your database, even in one or more fields in the same table.
    when a searcher type a word, or even complete phrase, the results will be specified to this word or phrase.
    For example if you searched about the word "News", and it mentioned in the news title and news content in tow records, these two records will appear in the search results.
    Results,,, results will be something very advanced, amazing, you can say it`s 70% of MX SiteSearch options.
    Also i included small script that will be very helpful showing the full details page URL dynamically, specially in the results page, this script automatically detecting the Host name, Site name, so it will be very easy to show the full path to the keyword results details page.
    This tutorial will considered as a part of the "news_system" tutorial, and the search application will be included to the news system for more convenient for the reader...
    Requirements:
    - we will create 2 pages:
    1- search.php "the search form".
    2- results.php "the results page".
    - Note:
    * The search page will included with the entire news system script as an external file, don`t put anything else in this page except the search form, and it will included within the head section.
    :: Watch Tutorials ::
    :: Online Demo ::

    Masking? Rotsoscoping? I can think of a million ways to create separated layers or mattes and then duplicate the layer and invert the masks/ matte, but if you never have used that stuff before, you will hard-crash on concrete and not get very far, I'm afraid. It takes at least a bit of practice to produce a clean matte. As a palce to start you may get by suing the Rotobrush and see, if it produces clean enough edges, but if not, it's proably better to scrap the idea before eitehr ending up with a bad result or not meeting your deadline...
    Mylenium

  • How do you use Keywords?

    I'm curious how you use Keywords. I started to go into my pictures today and add them. I went first to the first Event I had and looked for any pictures of my kids. I was going to make my Keywords pretty broad. If they were aged 0 - 5, then that was my Keyword. But, then I had a picture of a brother and a sister, where the brother was 8 and the sister was 4. What to do? Then I changed it from 0-5 to 0-10. I've tagged about 300 of them that way, but now I'm wondering if it's worth the time. I know I can also use multiple Keywords, but that just seems to be a lot of work.
    For reference, I name all my pictures when I input them. I use the following format: name of person - event (if pertinent) - town - year, so that might come out as Chip - Halloween - Golden - '08. That way, I find it pretty easy to find whatever I might be looking for.
    Do you use Keywords? If so, how?
    Thanks.
    Chip

    The BEST system of keywording is the system you will actually execute. So your priority should be figuring out what you are willing and happy to do on a fairly regular basis.
    Since it already sounds like your system is a hassle, I don't know that your keyword needs to reflect the age---you can easily search on KW: Kids and Date Range: (whatever the young years would be) after the fact, and save yourself trouble while tagging. Or set that up as a Smart Album, and then once you've done the "okay when the kid was 0-4 that would be the dates 1990-1994", you don't need to do it again.
    Certainly, though, you should be open to multiple keywords on the same photo--that's the power of keywords, to categorize the same photo in multiple aspects.
    I don't bother naming my photos, but unlike TD, I create a lot of smaller events and name them pretty carefully, similar to your photo names. I use keywords for recurring themes, like Me, Family, Friends, Rivers, Flowers, or places I visit multiple times. Things with a beginning and ending, I lean on the event name to track, eg "Christmas Eve, Christmas--Opening Gifts, Christmas--Dinner, Christmas--Hanging Out".
    I find it very important to use the shortcuts, so that I can skim through 300 pix from a national park and just hit f to apply the Family keyword, m to apply the Me keyword, w for pictures of water, l for pictures of flowers, etc. (The keyword pane must be open to use the shortcuts)
    I tend to set up a smart album based on a keyword about the same time I set up a keyword, so that the list of smart albums helps me remember what I am doing with keywords. Also, thinking in terms of which albums you want to be browsing helps figure out how you need to keyword the photos--when your relatives or friends come over, what do you want to show them?

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • As a new Macbook Pro user I was saddened to find that the feature of using keywords in iPhoto '11 does not allow showing same under each photo.  I understand this was available in earlier versions.  Any comments?

    As a new Macbook Pro user I was saddened to find that the feature of using keywords in iPhoto '11 does not allow showing same under each photo.  I understand this was available in earlier versions.  Any comments?

    Against TOU which you "agreed" to in order to post in these user to user forums.  If you want to "suggest" something to Apple, do so in the Product Feedback area.

  • Why can't I use links within my email messages? When a link is clicked, nothing happens--it doesn't go to that specific website.

    Why can't I use links within my email messages? When a link is clicked, nothing happens--it doesn't go to that specific website.

    HI Ana ...
    I had FB working again two days ago, and yesterday in mid-serve Safari just "couldn't find the server" once more...
    That's a different issue...
    First, if you can just use English, open System Preferences > Language & Text then select the Language tab. Drag English to the top of the list then restart your Mac.
    Now for the server issue. Try using Open DNS. That shold help the "couldn't find the server" issue...
    Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
    Click +
    Enter these numbers exactly as you see them here.
    208.67.222.222
    Click +
    208.67.220.220
    Then click OK.
    Try accessing Facebook on Safari now.

  • How to use keywords in a correct way for Acrobat Pro AND Spotlight

    When I enter keywords in a PDF using CMD-D in Acrobat Professional I also want to find those keywords via OS X Spotlight. At the same time I to be able to use keywords when I enter keywords in PDFs using Preview.app.
    What's the path to do this, and how do these three applications work together to provide a consistent search. I also need to know the details like do I enter keywords in Acrobat with komma or without, with a space before the komma or not etc.
    The goal is to be able to have a constistant, compatible workflow for keywords/tags in PDFs using Acrobat, prevoew.app, and other applications; in order to manage large amounts of PDF files.

    Hello Joao,
    Thank you for your answers. I hope I can ask some more of your time because it is not totally clear yet.
    I tried your suggestion to change the stroke width. This has no effect, other than the stroke width, the curves stay filled. It would be nice to show this in a picture... And I just noticed that I had the arguments wrong in my example (been playing around with it too much), the null and green should be the other way round. But also this did not make any difference. Specifying the fill color with the same color as the background color of the map is a workaround though.
    Adding the theme_name to the feature attributes is an option, but would that be possible with predefined themes? At the moment we have all the theme definitions in the database.
    The most important question however is how do I draw a single feature, based on some condition. The only method I can find in the MapViewer api is drawLiveFeatures with no feature args which "Draws all the live features that are returned to this client from MapViewer". I must be overlooking something.
    Thanks again very much for your help,
    Ida

  • How to use bash within sqlplus?

    How to use bash within sqlplus?
    meaning I am doing something like this to look for files within a particular directory with some condition.
    N=0
    for i in $(find . -path \*/waiting/* -type f -not -name "SS*" -mmin +120 -print) ; do
    testarray[$N]="$i"
    echo "$i"
    let "N= $N + 1"
    done
    Output from above script is as follows:
    /d1/d2/d3/d4/waiting/abcd.txt
    /d1/d2/d31/d42/waiting/pqrs.txt
    /d1/d2/d32/d43/waiting/xyz.txt
    And now I want to input this data into database with help of insert.
    and here is the little pl/sql block to insert the data with looping thing.
    sqlplus $CONNECT <<-EOF
    DECLARE
    Counter integer :=1;
    BEGIN
    WHILE Counter <= ${no_of_files} LOOP
    INSERT INTO stuck_files(COL_DATE,SER_NAME,TYPE_FILE,FILENAME,FILE_STATUS) VALUES (sysdate,'pqrs','pqrs','pqrs','pqrs');
    Counter := Counter + 1;
    END LOOP;
    END;
    commit;
    exit;
    EOF
    Mapping is as follows:
    COL_DATE,SER_NAME,TYPE_FILE,FILEFILENAME,FILE_STATUS
    sysdate,d3,d4,abcd.txt,waiting
    sysdate,d31,d42,pqrs.txt,waiting
    sysdate,d32,d3,xyz.txt,waiting
    any idea how to do that?
    Edited by: user9274197 on Apr 28, 2013 5:09 PM

    user9274197 wrote:
    How to use bash within sqlplus?
    meaning I am doing something like this to look for files within a particular directory with some condition.
    N=0
    for i in $(find . -path \*/waiting/* -type f -not -name "SS*" -mmin +120 -print) ; do
    testarray[$N]="$i"
    echo "$i"
    let "N= $N + 1"
    done
    Output from above script is as follows:
    /d1/d2/d3/d4/waiting/abcd.txt
    /d1/d2/d31/d42/waiting/pqrs.txt
    /d1/d2/d32/d43/waiting/xyz.txt
    And now I want to input this data into database with help of insert.
    and here is the little pl/sql block to insert the data with looping thing.
    sqlplus $CONNECT <<-EOF
    DECLARE
    Counter integer :=1;
    BEGIN
    WHILE Counter <= ${no_of_files} LOOP
    INSERT INTO stuck_files(COL_DATE,SER_NAME,TYPE_FILE,FILENAME,FILE_STATUS) VALUES (sysdate,'pqrs','pqrs','pqrs','pqrs');
    Counter := Counter + 1;
    END LOOP;
    END;
    commit;
    exit;
    EOF
    Mapping is as follows:
    COL_DATE,SER_NAME,TYPE_FILE,FILEFILENAME,FILE_STATUS
    sysdate,d3,d4,abcd.txt,waiting
    sysdate,d31,d42,pqrs.txt,waiting
    sysdate,d32,d3,xyz.txt,waiting
    any idea how to do that?
    Edited by: user9274197 on Apr 28, 2013 5:09 PMhttp://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:439619916584
    Cheers,

  • Smart album using keyword not working

    I'm creating smart albums using keywords. Today I created two smart albums tagging select photos with key words. One album has worked correctly, the other album is empty, showing only black background. I've confirmed photos are tagged with the one key word, I've confirmed the key word exists in the list. I can't figure out why the smart album is not generating.

    Try going to the Q tab and get rid of all the search field by clicking the circle at the right hand side, leaving only the Keywords field, then ensure the rating field is at unrated or better as this field cannot be removed. Allan

  • Search for images using Keywords Problem.

    1) In LR4, Search for images using Keywords (click on arrow next to Keyword).
    2) Select image, export to PS6, save as Tif.
    3) Tif retains all Keywords when it appears in LR
    4) Despite that, image does not show up in the same 'Search for images using Keywords'.
    Can anyone help with this, it is frustrating me!

    V. 4.1
    Thanks, I will try, but it seems to be an inconsistent problem.
    Simon Fletcher
    Simon Fletcher Photography
    Woody's Nest
    Newton of Kinkell
    by Conon Bridge
    Ross-shire
    Scotland
    UK  IV7 8AS
    Tel: 01 349 864 830
    Web: www.simonfletcherphotography.co.uk
    Work:
    The Glass Scribe
    Tel: 01 349 867 088
    Email: [email protected]
    Web: www.glassscribe.com

  • Using variables within GETurl

    Having issues with getting a simple script working...
    I've created a 'flashvars' tag in my embed code (aid=test), which I simply wish to add to the end a GetUrl statement, contained in within a button (which is on the first level of the flash movie). This is the code I've added to the button...
    on (release) {
        getURL("http://www.platinumselect.com?id="+aid);
    But this doesnt seem to work!? Is there anything else I need to do?
    Thanks in advance! (p.s. using actionscript 2.0)

    Where are the 3 places?? I've got it in two at the minute.
    Date: Tue, 10 Nov 2009 07:53:55 -0700
    From: [email protected]
    To: [email protected]
    Subject: Using variables within GETurl
    in as2, there is no LoaderInfo class and you don't need to do anything in flash to parse the flashvars.
    but, as i mentioned in a duplicate post, you do need to define your flashvars in 3 places in your embedding html file.  failure to do that is the most common reason for a problem with flashvars.
    >

  • Define structure with table type fields using keyword "TYPES"

    Hi Gurus,
    Using keyword "TYPES", I want to define a structure in which there is a field must be table type. It seems not allowed. For example:
        TYPES tt_items TYPE TABLE OF sflight.
        TYPES: BEGIN OF str,
          field1 TYPE i,
          field_tabl TYPE tt_items.
        TYPES:  END OF str.
    Then I got a syntax error:
    "TT_ITEMS" is a generic type. Use of this type is only possible for     typing field symbols and formal parameters. -     
    What should I do if I want to have a table type field in it?
    Thanks a lot.

    include type EKKO includes the whole strucutre of EKKO.
    if you see the structure in debug mode, it_ekko contains the fields of EKKO as well as the field CHK of type C.
    In your case you can do this
    TYPES: BEGIN OF str.
    INCLUDE TYPE sflight.  " includes whole structure of SFLIGHT
    TYPES : field1 TYPE i. " include the field1 of type I
    TYPES: END OF str.
    DATA : it_str TYPE TABLE OF str, " internal table
           is_str TYPE str.          " work area
    Regards
    Gopi

Maybe you are looking for

  • How to create a .war file

    Hi Guyz,............. how can i make a war file from a project directory i had searched the forums but that did not help me. i used this command C:\My Project\source>jar cvf MyProj.war 'c' flag requires that input files be specified! Usage: jar {ctxu

  • How can I tell if my phone has siri

    HOW can I see if my phone has siri

  • FM for modifying product attribute values

    Hello everyone We have created our one set types for a product family. What I'm looking for is a function module for maintaining the values in this set type for specific product. Thanks, Nachshon

  • ALV LINK_TO_ACTION set_wrapping/set_wrapping_fieldname

    hallo:) I would like to have my alv cell wrapped. What I do: I created LINK_TO_ACTION as a column variant. I added this variant to the column. While creating link to action I set wrapping to ABAP_TRUE. And I placed a text inside the cell: concatenate

  • Cannot receive mail- suddenly stops

    I have a MacBook Pro running 10.5.8. Since yesterday I have been unable to receive email. MAil activity progress bar shows that it has started but the KB/S slows to 0 and nothing is ever received. I receive the emails on my iPhone so not sure why not