Bex layout and replace

Hi SDN,
I have layout as given below ...
and needs to changes or replace 1 with "one two" , 1 with "100 - 300 and respectively  Help with suggestion.
Thanks,

Hi SDN,
Any thoughts !!
Regards,

Similar Messages

  • XML tag markers moved: Find and Replace causing problem in xml elements

    Hi All,
    I am doing find and replace using GREP. While using the expression like $1, $2 (Found Items) in the change to field it changes the placement of tag marker. If the found item is a part of two of more xml elements, I am getting a serious problem while replacing it. (ie. The xml tag markers are moved.)
    See the screen shot below, then you may get better idea. And help me to overcome this issue.
    This is just an example to show you what i'm trying to say, there are so many cases like this.
    Original text/ Before doing find replace
    After replacing
    Green4ever

    Hi Peter and John,
    but it seems to me that the example is looking for any space that
    follows a semi-colon and has two word characters following it, and
    repalce that with an em space. I think you could do the same using look
    behind and look ahead and not need to replace the found text.
    Yes you are right about the look behind and look ahead. I'd like to show some more examples to show what the actual problem is,
    Original/Before Replacing,
    (Consider there is another case here, instead of em-space some times normal word space will also be there)
    Using the Grep:
    Find What---------> ^(\d+\.(?:\d+)?)~m
    Change To------------->$1\t
    After Replace:
    Did I make any sense? Eventhough this will not make any changes in the layout, my requirement is to insert the tab out-side the tag marker not indise.
    Green4ever

  • Reformatting files in Dreamweaver: Batch series of .dwr files (find and replace) consecutively

    I have to do complicated reformatting of an entire site. It's been simplified to a series of find and replace tasks for each file. Each find and replace string has been saved as a .dwr file. Currently I have to load and execute each .dwr file.
    How do you batch process or automate this task in Dreamweaver? In other words, queue up a series of .dwr files to be executed consecutively?

    OK here we go.
    This example, a simple Dreamweaver  Command Extension, will execute two Find and Replace commands in one go. (It can be any number of Find and Replace commands.)
    The first command replaces "the" and "this" with "phe" and "phis". The second command replaces <ul> ... </ul> with <ol> ... </ol>. (These of course can be any Find and Replace.)
    You need two files: a HTML file (for the  UI) and a Javascript file (for actions). I named them "Find and Replace Test.html" and "Find and Replace Test.js". (They can be any name.)
    Find and Replace Test.html
    <!DOCTYPE HTML SYSTEM "-//Adobe//DWExtension layout-engine 10.0//dialog">
    <HTML>
    <HEAD>
    <Title>Find and Replace Test</Title>
    <script src="Find and Replace Test.js"></script>
    </HEAD>
    <BODY>
    <form>
         <p>Are you sure?</p>
    </form>
    </BODY>
    </HTML>
    Find and Replace Test.js
    function canAcceptCommand() {
        return true;
    function commandButtons() {
        return new Array("Go!", "doIt()", "Cancel", "window.close()");
    function doIt() {
        dreamweaver.setUpFindReplace({
            searchString: "th(e|is)",
            replaceString: "ph$1",
            searchWhat: "document",
            searchSource: true,
            useRegularExpressions: true
        dreamweaver.replaceAll();
        dreamweaver.setUpFindReplace({
            searchString: "<(/?)ul>",
            replaceString: "<$1ol>",
            searchWhat: "document",
            searchSource: true,
            useRegularExpressions: true
        dreamweaver.replaceAll();
        window.close();
    Basically you can call any number of this pair of functions in the script:
    dreamweaver.setUpFindReplace(findAndReplaceObject);
    dreamweaver.replaceAll();
    Place these HTML and JS files in this directory:
    Dreamweaver App Directory/Configuration/Commands/ 
    Then in Dreamweaver, open "Insert" window. (You need to have a HTML file open in order to make the Insert window active.) At the top of the Insert window there's a category dropdown menu  ("Common" etc.). Do alt + click (ctrl + click) - then you'll see an item "Reload Extenesions" at the bottom of the dropdown. This will load this extension to DW. (Alternatively you can restart DW to load the extension.)
    Now it's ready to run the Extension. Open a HTML document you want to modify. Go to "Commands" on the menu bar. At the bottom of the dropdown there should be an item "Find and Replace Test". Select and enjoy
    Notes
    This example is set to perform the Find and Replace on the current document. You can change the scope to the entire site, or the selected files, etc, just like in the Find and Replace dialogue box. The API doc is here: http://help.adobe.com/en_US/dreamweaver/cs/apiref/WS5b3ccc516d4fbf351e63e3d117f9e09bcf-7ed a.html
    You can use dreamweaver.setUpComplexFindReplace(xmlQueryString) command instead. xmlQueryString is basically <dwquery> ... </dwquery> in your .dwr files, you can copy from your .dwr files. However xmlQueryString needs to be one continuous string (no line breaks), which can be a pain The doc: http://help.adobe.com/en_US/dreamweaver/cs/apiref/WS5b3ccc516d4fbf351e63e3d117f9e09bcf-7ed 9.html
    Command Extension general example in the doc: http://help.adobe.com/en_US/dreamweaver/cs/extend/WS5b3ccc516d4fbf351e63e3d117f53d6ec3-7fe 6.html
    I hope all of these make sense...
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • Aperture 3.3.2: Import: Append and Replace button behind Metadata window

    Hello,
    when doing an import of some pictures in an already existing project, I saw that the Append and Replace button (for "Metadata" under "Metadata Presets") are almost completey hidden behind the Metadata input window. See:
    It is impossible to see if Append or Replace is selected and I also cannot select Append or Replace.
    Toggling the Metadata selection to "None" and back to "Keywords and Copyright" doesn't solve the problem.
    Do others also have this problem?
    Can I see if this problem has already been reported to Apple?
    Kind regards,
    emeu1

    Hi emeu1,
    No, for me it is fine.
    I'd recommend to quit Aperture, log off and on again, and remove the Aperture Preferences
         ~/Library/Preferences/com.apple.Aperture.plist
    from your User Library, as described in the
    Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Faulty preference seetings may corrupt the layout of the User Interface.
    Regards
    Léonie

  • Future of BEx Query and BEx Query Designer

    Folks, I understand SAP's future reporting tools is BO suite. All of us need to move to the new tools which are better or more reliable in 2010. Meanwhile our customers are reluctant to use BEx tools for any new development. Being on the techi side I dont see how BEx Query will be replaced by Voyager or Polestar or WebI or Crystal. I just need to report on my multiprovider without a universe layer. Have any of you experts come across documentation that layed out future of BEx tools explaining the end of support period? I have see roadmaps for tool availability but no dates for end of support.
    Thanks in advance.

    AFAIK,
    Bex Query designer and BEx query will continue... Polestar might be proposed as an alternative for BEx but then it is meant for ad-hoc analysis ... but BEx query and Query designer have specific query requirements also...
    Voyager etc will start coming in...

  • Dreamweaver CC generates one of 3 error messages when using find and replace on Win 8.1 64 bit.

    Dreamweaver CC generates one of 3 error messages when using find and replace is used more than twice in succession. "While executing onLoad in bc_afterSave.htm, the following JavaScript error(s) occurred: At line 188 of file C:\Program Files (x86)\Adobe|Adobe DreamweaverCC|Configuration|Shared|BC\JS\bc_sites.js": out of memory"
    or
    While executing runCommand in File_Save.htm, a JavaScript erroroccurred.
    or
    While exciting getDynamicContent inAdressURL.htm, a Javascript erroroccirred.
    Any thoughts - I end up closing DWCC and reopening. Will work for two additional Find and Replace before the error messaged\s popup again.

    bkaufman43 wrote:
    Thanks Jon. I tried all of those solutions before posting. Same problem. It seems that the problem is tied to DWCC. Do not have the problem when using DW6 on Win8.1. When running DWCC on a Win7 pc, we get the same error message. When running DW6 on Win 7, f&c works fine. It seems to be a bug in DWCC. DWCC works flawlessly on our Macs.
    The same steps apply to DWCC, you just need to choose the CC folders rather than the DWCS4-6 versions that the page talks about. The layout of CC's folders hasn't changed from the older versions which is why, I think, Adobe hasn't updated the troubleshooting page as of yet.
    As Nancy mentions, a 38,500 page site is sort of ridiculously large for a static website, that could be part of the problem, but your response quoted above leads me to think you may have tried the troubleshooting steps in the wrong version of the program. Could you confirm that?

  • BEx Layout Issue

    Hi everyone,
                           I have a BEx Query which has Quantity Keyfigure and the user does not want to see the Keyfigure together with Unit of MEasure in the same Column. So , I used NODIM function in the Report and Added 0BASE_UOM as a seperate Characteristic in the Report.
    But the thing is by default all the Keyfigures are displayed to the Right Corner of the Report  and hence the  Unit of measure comes up along with the characteristics and Quantity as Keyfigures in the right.
    But My User wants to change the Layout to  Quantity follwed by unit of measure in the Next Column. I tried  to change the layout and save it as a workbook.
    But as it is, the Workbook when refreshed or  when we change the Variable Values , it goes back to the Query Format  Layout.
    I hope i am  clear.Please suggest .
    Regards,
    Samir

    Thanks Manikandan.
    I was waiting for this Reply. SO, Once if I follow your Steps, then My Workbook Format will be saved permanently. I haven't worked much with WOrkbooks . SO , I am new to this.
    Can you please provider me the ExactSteps. Or else let me try this on Monday and I will get back to you.
    Also, i hope, when the workbook is refeshed or when the user changes the variable, the Workbook Format is retained and only the data changes.
    Because right now, the workbook which I created when refreshed shows the Query Output. SO , I was just thinking how Workbooks are useful then if the Format changes once the user refreshes.
    Regards,
    Samir

  • Search and Replace "Column Break" with "Page Break"?

    Hi,
    I have been using the "column break" where I really should have been using the "page break". The page break just makes more sense in my layout.
    Is there anyway to search and replace the column break with a page break?
    Thanks,
    Rhek

  • Installing BEx Faourties and History

    Hi,
    My BEx Favourites and history are blank. Can You please let me know what can be done to make them available. I came to know that we have to install some cubes and ODS for them from Business Content..
    Can you please suggest
    Hari

    For activate history and favorites,  you must frist activate from business content these Datastore object:0PERS_BOD (Personalization Data for the BEx Open Dialog), 0PERS_VAR (Personalization Data for the Replacement of Variables) and (0PERS_WTE     Personalization Data for Web Template Drilldowns). Then you must going on SPRO transaction and select SAP Reference IMG button.After  you should see a structure compose of some element as: SAP ECC extensions, SAP NetWeaver ... So, you have drill down SAP NetWeaver element and continue by this path: Business Intelligence->Settings for Reporting and Analysis->General Settings for Reporting and Analysis. In <i>General Settings for Reporting and Analysis </i> you must select the <u>icon clock</u> of <b>Activate Personalization in BEx</b>. A this point you should be on new transaction window with this title: <i>Activating Personalization in BEx (Inactive are Highlighted)</i>. So, select the tree check box that are present ( Activate Personalization in BEx, Variable personalization and Web report person.) and at last select the clock icon. So after this operation you have activate the history and favorites and you mustn't restart the system.
    Hope help you,
    Andrea Maraviglia

  • Update and replace a index via script

    Hi everybody,
    I created a book with 30 chapters, each of them having a local (or chapter) index at the last pages.
    I would like to update these indexes and replace them with the new, updated ones (just as the command "Generate Index..."
    do with the option "Replace the Existing Index" on).
    I'm able to generate the index via script, but I don't know how to make it replace the existing one.
    I dont want the Place the Index, as its precise location is variable and it can run for more than one page and frame.
    So even I could get the coordinates of an existing index to place the new one,
    I would have the re-layout them, what would defeat my automation goal altogether.
    I just want to replace the existing indexes via script, as I can do using the interface.
    Is it possible?
    Thank you all in advance.
    Edson Furman
    [email protected]

    I'd like to re-ask the same question. I am able to generate an index for the first time, but am at a loss how to do the scripting equivalent of pressing the "OK" button in the following dialog:
    I'm guessing I should proceed something like this:
    myDocument.indexGenerationOptions.replaceExistingIndex = true;
    myIndex = myDocument.indexes[0].update();
    myIndex.generate( ? DO I REALLY HAVE TO SPECIFY A PAGE ETC. HERE ? );

  • Find and replace smart quotes with straight quotes?

    I understand I can turn off smart quotes so that I can type straight quotes, but I need to replace hundreds of curly smart quotes with straight quotes, is there a feature that will let me do this? I am using FM8.
    Thanx,
    Willian

    I am using FM9....so I don't know if the same shortcuts apply, but this is what I found out last week.
    Use the Find and Replace tool:
    With smart quotes turned off and the Num Lock key turned on:
    Alt0147 will give you beginning quotation marks
    Alt0148 will give you ending quotation marks
    In the Find box use ALT0147 or ALT0148 for the beginning or ending quotes. When you click in the box and type
    one of the shortcuts the correct quote will be shown in the box.
    In the replace box type the regular straight quotes on your keyboard.
    I was thrilled that it would work!...course you do have to do them separately and be careful not to replace the curly quotes
    that you want to leave in your document.
    Hope this helps using FM8....
    ls

  • Use VBA and Excel to open Dreamweaver HTML (CS5), find and replace text, save and close

    I wish to use VBA and Excel to programmatically open numbered Dreamweaver HTML (CS5) and find and replace text in the code view of these files, save and close them.
    I have  5000 associations between Find: x0001 and Replace: y0001 in an Excel sheet.
    I have the VBA written but do not know how to open, close and save the code view of the ####.html files. Please ... and thank you...
    [email protected]

    This is actually the code view of file ####.html that I wish to find and replace programmatically where #### is a four digit number cataloguing each painting.... In 1995 I thought this was clever... maybe not so clever now :>)) Thank you for whatever you can do Rob!
    !####.jpg!
    h2. "Name####"
    Oils on acrylic foundation commercial canvas - . xx X xx (inches) Started
    Back of the Painting In Progress </p> </body> </html>
    Warmest regards,
    Phil the Forecaster, http://philtheforecaster.blogspot.ca/ and http://phils-market.blogspot.ca/

  • How do I find and replace text in PHP files?

    How can I in CS3 make sitewide changes to the text in PHP pages without changing variable names etc that have the same name?
    For example if I have an installation of a PHP forum and I want to change every instance of the word 'forum' to 'message board'...
    If I used the 'inside tag' search with " as the tag, then if "" contained a variable called 'forum' it would also be changed and therefore corrupt the code....
    Is there a simple way around this?
    Thanks!
    I'm using CS3 on Windows Vista.

    It looks like you're trying to find and replace source code, so you may be able to look at the various places that are looked at when finding and uncheck the ones that don't apply.
    But, if it's all source code then that won't help.  One thing that may work is to expand the search option - for example if the work "forum" that you're wanting to change it preceded by another word, or character or something that sets it apart, then do you find on that. You can expand that search phrase as far out in either direction that you need to to make it different, if of course that is practical in your situation.
    The only other way I can think of is to somehow create an exception rule, but I'm not sure if that's possible or how to do it.

  • Using a variable in a Powershell search and replace string

    Hi
    a couple of days ago I posted a question about doing a search and replace with wildcards
    Search and repalce with Widcards
    I got a swift and very helpful answer but now I need to build on it.
    In a text file I wanted to replace all the text between two defined words.  the script I got was this
    $text = 'Some Server this bit of text varies Language stuff'
    $text -replace '(.*Server) .+? (Language.*)','$1 it will always say this $2'
    It works great but now I want to replace "it will always say this" with a variable and I can't figure out the correct grammar to make this happen.
    Can anyone help??
    Thanks
    Alex

    Here's one way:
    $replace = 'it will aways say this'if ( $text -match '(.*Server) .+? (Language.*)' )
    { "{0} $Replace {1}" -f $matches[1,2] }
    else { $text }
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • I used someone else's computer to update my iPhone and when it was done all of my content was gone and replaced with the computer owner's content.  Can I get my stuff back?

    My boyfriend wanted to update his iPhone so I let him use my computer/iTunes to do it because he does not have his own.  When we plugged his phone in it brought up his name to select and then we began the update.  After it was done and his phone came back up it had deleted most of his info he had like contacts and replaced it with my contact list.  Is there anyway to get his info back and restored to his phone?  Help!!

    You can only sync to 1 iTunes library on one computer.
    If you sync to another, you get what happened to you.
    If you have not backed it up on your computer, where you originally synced to, you are out of luck.
    If you did backup up, read this:
    http://support.apple.com/kb/ht1766

Maybe you are looking for

  • How to check collection.contains(..) inside a tag ?

    Hi, I'm using both struts and jtsl tags in my jsp. JSP session has a Collection named "responses" that contains string objects.     <c:forEach items="${page.questions}" var="question" varStatus="i">           <tr>                <th align="left"><c:o

  • Safari 3.1 not displaying Spry submenu correctly

    I am redesigning a site and have placed a Horizontal Spry menu at the top of the page. Some of the options in the menu have a sub menu with some of the options in one of the sub menus having their own sub menu. I have tested this in IE 7, Opera, Fire

  • Unable to connect using SQL Developer.

    Hi, I am having a hard time connecting to the database instance using "Cloud Connections," in SQL Developer. I am using the information found in here: http://docs.oracle.com/cloud/CSDBU/develop.htm#BABDBHJA to connect to my cloud-service, but all I g

  • How to change a value of input text box into uppercase?

    Hi all, In my use case I should have a text box in the jsf page and I should store the value that is entered in the text box in a database. The requirement is the value which user enters in the text box should get changed to Uppercase before getting

  • Urgent : Regarding Adobe Forms ,Scripts and Smartforms

    <i> Hi Floks Any body having Adobe Printing Forms ,Scripts and Smartforms documents Links can you send me to me . Its will be help full to me thanks suresh</i>