Skip to main content link. Accesskey S
  • Translate Page ▼
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Composite Applications wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.2
  • 8.0.1
  • 8.5
  • 8.5+
  • 8.5.1
  • advanced features
  • advantages
  • API
  • app dev
  • assembling
  • basics
  • benefits
  • Browser
  • CAE
  • cai
  • catalog
  • changing page properties
  • changing value to another type of value
  • code snippet
  • component library
  • component properties
  • components
  • Composite Application Editor
  • Composite Applications
  • container components
  • containers
  • custom actions
  • debugging
  • demos
  • deploying
  • designing
  • developing
  • drag and drop
  • Eclipse
  • Eclipse components
  • Eclipse tips
  • editing properties
  • Editor
  • education
  • enablement
  • Expeditor
  • extending
  • extensions
  • FAQ
  • feature rules
  • framework
  • getting started
  • Help
  • HOD
  • host on demand
  • how to
  • Java
  • lead manager
  • linking
  • match rules
  • new users
  • Notes
  • Notes components
  • Notes view
  • nsf
  • NSF components
  • overview
  • page properties
  • Palette
  • PBE
  • PIM
  • plugins
  • Portal
  • preference
  • programming
  • properties
  • property broker
  • property broker editor
  • Property Broker Monitor tool
  • provisioning
  • resources
  • roadmap
  • samples
  • setting component properties
  • Sidebar
  • sideshelf
  • Symphony
  • Symphony view component
  • technote
  • testing
  • toolkit
  • TopologyHandler
  • troubleshooting
  • tutorial
  • update site
  • updating
  • upgrading
  • video
  • view
  • Web
  • web services
  • white lists
  • widgets
  • Wiring
  • WSDL
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Configuring Applications > Property Value Editor
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Property Value Editor 

expanded Abstract
collapsed Abstract
No abstract provided.
Property Value Editor

The Property Value Editor is a powerful tool that allows an application developer to make changes to multiple property values at once. A typical use of the the Property Value Editor would be to update URLs when moving an application from a development/test environment to a deployment environment. For example a composite application may be developed using components on a test domino server or from a development updatesite, when the application is moved to a deployment phase all the component URLs would need to updated. Without the Property Value editor each component would need to be updated individually.

This feature uses regular expressions when replacing values. To read more about regular-expression constructs see http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html.

CAUTION: While the Property Value Editor is intend to provide a power tool for updating component properties, replacing property values can break an application so use this feature with care.

Using the Property Value Editor
1. Select Edit

 
Property Value Editor.



2. In the Filter area, narrow your search scope by choosing either Preference Name contains or Preference Value contains and entering a filter string. Leaving a field blank or entering the wildcard character (*) returns all. The selection area displays the parts of your application you want to search, listed in a hierarchy of application, page, component, property. The property values display on the right. You can only update property values. For example, to update URLs, enter URL in the Property field. Any component that contains a URL preference displays.

Note: If no results are found that match the filter only the root page is displayed.



3. All result that match the filter are selected automatically. Leave as is if you want to replace all selected values. Otherwise, check only those values you want to replace.



4. Enter a regular expression (or literal string) of what you wish to replace and the replacement string, and click Apply. It is prudent to review what is selected in the tree before applying changes. The changes will display in the selection area. If you have searched by Preference Value Contains: and apply changes, the new value may no longer match the filter criteria and if so will no longer be displayed.

5. When you are done making changes, click OK to save your changes or Cancel to roll back all changes since you opened the editor.


Examples for using Property Value Editor


Example 1.
Changing the Initial URL of managed browser components.
In this example there are several Managed browser components on a application. By default they are set to about:blank we will change them to http://www.ibm.com
1. Filter by Preference Name Contains: with initialURL

2. The tree area should now show the any components that a preference that contains initialURL

3. In the Replace Property Value area leav e the Replace field as .+ this is replace anything and everything
the the with field enter http://www.ibm.com

4. Clicking on Apply with apply the changes.

5. Clicking OK will save the changes while clicking cancel will abandon any changes made since the dialog was open.


Example 2. Replacing the change the server of a notes URL
In this scenario we have a new composite application that we wish to move from development to deployment. The composite application contains several new notes components that are located on a test server (testserver) and several other components that have already been deployed (dominoserver1). The components have been deployed to dominoserver2 and the components URL need to be update to reflect this
1. Filter by Preference Value Contains: with Notes://testserver/85257336004CE5D3/CompanyByName?OpenView

2. The tree area should now show all thecomponents that have a preference whos value contains Notes://testserver/
e.g. Notes://testserver/85257336004CE5D3/CompanyByName?OpenView

3. In the Replace Property Value area enter Notes://testserver/ into the Replace field in the with field enter Notes://dominoserver2/

4. Click on Apply to apply the changes and OK to save them.

Some examples of some regular expressions.

Regular Expression
Description
Example
    .+
    one or more of any character
    http://[\w-._]+/
    A string that starts with http:// followed by one or more alphanumeric charater, '-', '.' and/or '_' followed by '/'
    http://www.ibm.com/

    but not http://www.ibm.com

    [A-F0-9]{16}
    Any series of numeric characters and/or A,B,C,D,E,F exactly 16 characters long
    F2A477C624781375

    41745C3C35E6675F477C624
    [w]{3}.[\w-_.]+[.com]
    Any dot com domain with a www. prefix
    www.ibm.com/ie/

    http://www.ibm.com

expanded Article information
collapsed Article information
Category:
Configuring Applications
Tags:
advanced features, CAE, Notes, NSF components, deploying

This Version: Version 7 October 22, 2009 6:22:20 PM by Michael Cooper  IBMer
   
expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (7)
collapsed Versions (7)
expanded Version Comparison
collapsed Version Comparison
     
Version Date Changed by               Summary of changes
This version (7) Oct 22, 2009 6:22:20 PM Michael Cooper  
6 Oct 14, 2009 3:57:19 PM Michael Cooper  
5 Oct 14, 2009 3:09:06 PM Michael Cooper  
4 Oct 11, 2009 1:31:07 PM Deanna Drschiwiski  
3 Jan 14, 2009 10:30:55 PM Deanna Drschiwiski  
2 Nov 27, 2008 9:57:25 AM Mark Gargan  
1 Nov 27, 2008 9:53:43 AM Mark Gargan  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Tip: When linking to articles use the original title, not the edited title. The alias for the link can be the edited title.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • Lotus Technical Information and Education Team Blog
  • Lotus Tech Info on Twitter
  • Lotus Tech Info on Facebook
  • Lotus product forums
  • Lotus Tech Info blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use
Return to English
Arabic
Chinese Simplified
Chinese Traditional
French
German
Italian
Japanese
Korean
Portuguese
Russian
Spanish