Adding query string to files already within shared documents

Am a Sharepoint newbie, so hopefully this is an easy one. Am trying to add a query string to some hyperlinks (of PDF files) that are already published in a Shared Documents web part. What's the best way to accomplish this? Can't seem to find an easy
way to edit the raw HTML anchor tag, which would be so simple. Is the anchor tag HTML exposed someplace where I can edit?
Thanks in advance.

You could potentially modify the rendering of a specific Shared Documents by modifying the XSL of your view in SharePoint Designer. However, this will not affect all libraries and not all views of the library, just the specific page.
The jQuery method is actually very easy and can be deployed site-wide by adding a reference to your MasterPage, or to a specific view / page by using the Content Editor Web Part. The actual jQuery would look something like:
$(document).ready(function() {
$("a[href$='.pdf']").attr('href', function(i, v) {
return v + '#YourCustomQueryString';
Dimitri Ayrapetov (MCSE: SharePoint)

Similar Messages

  • Adding query string parameter to link

    I'm reviewing this tutorial by David Powers and I'm using CS6. 
    http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt2.html
    Everything went well until I tried to add query string parameters to links (EDIT and DELETE) on the manage_posts.php  page.
    "You add a query string to the end of a link through the Parameters dialog box, and bind the primary key from the recordset. Although it's a simple operation, many people tend to get it wrong, so follow the next steps carefully."
    I did.  In fact I did it twice.  Both times DW inserted = sign in the wrong place.
    DWCS6 code:
    <td><a href="update_post.php?<?php echo $row_getPosts['post_id']; ?>=<?php echo $row_getPosts['post_id']; ?>">EDIT</a></td>    
    Corrected Code:
    <td><a href="update_post.php?post_id=<?php echo $row_getPosts['post_id']; ?>">EDIT</a></td>
    Anyone else experiencing this?
    Nancy O.

    OK.  I typed the Name manually. But I neglected to hit the tab key twice to arrive at the Value input field.
    Screenshot 1
    After hitting tab key twice, value field is in focus and 2nd lightening bolt appears.
    Gads!  No wonder people mess this up. 
    Thanks, David.  I appreciate your clarification. 
    Nancy O.

  • Open Data Object -  Open File attachment within pdf document

    I am trying to build a script which will open file attachments embedded in a pdf document.
    I have used the following javascript to list all embedded files within a document so I can retrieve the name
    var d = this.dataObjects;
    for (var i = 0; i < d.length; i++)
    console.println("Data Object[" + i + "]=" + d[i].name);
    The console reported:
    Data Object[0]=MTP-300-X-1210_A.pdf
    Data Object[1]=MTP-300-X-1240_A.pdf
    I then used the following script to open the file     
    this.openDataObject("MTP-300-X-1210_A.pdf");
    Console reports back as follows and does not open the file:
    [object Doc]
    Can anyone please offer assistance in how to open an embedded pdf attachment within a document?
    Many thanks!

    Hi George,
    I have used the same method app.openDoc to open attachments using a path associated with my computer.  However, as you know, the method does not work if the pdf containing the attachment is located on a different computer.  The app.openDoc method throws an error becuase the path is not valid.
    I am trying to get the following code to work with no success:
    var cFilePath = "|" + this.path + "|U:photo.pdf"';   // photo.pdf is the attachment
    app.openDoc ({cPath: cFilePath});
    The debugger throws an error.
    However, if I take the content of the variable cFilepath and instert it as an argument within cPath parameter as a string literal, the app.openDoc method returns the docObject.
    What's going on here?  shouldn't the variable cFilePath work?  Or do I need to specify a data type for the variable?  Any thoughts would be helpful.  I am using Windows 7, Adobe Acrobat X Standard.

  • Adding Query String Parameters to Table loadData

    I am new to ADF/JDeveloper, so hopefully this is a simple question...
    I have created an ADF task flow containing a table of fake weather data. This data is loaded using a URL Service Data Control. The URL service takes a zip code as a querystring parameter and returns a CSV of weather data. All of this works fine when I create the data control, test the URL and add the table. However, right now I am hard coding the zip code into my loadData argument (where I submit the zip code).
    What I want to do is read a querystring parameter from the JSPX page my task flow resides on and submit that zip code to loaddata in my bindings. When I write the EL that I think should do this (the same EL works when I put it in an outputText box), the task flow fails to load the correct zip code.
    I have tried creating a backing bean and loading the data from there, but this doesn't seem to work either. So what is the "ADF way" to do this?
    Here are my current bindings from the task flow page definition (see NDValue):
    <bindings>
    <methodAction id="loadData" RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="loadData" IsViewObjectMethod="false"
    DataControl="ZipWeatherDC" InstanceName="ZipWeatherDC"
    ReturnName="ZipWeatherDC.methodResults.loadData_ZipWeatherDC_loadData_result">
    <NamedData NDName="zip"
    NDValue="#{param.zipcode}" NDType="java.lang.String"/>
    </methodAction>
    <tree IterBinding="loadDataIterator" id="Return">
    <nodeDefinition DefName="net.hross.adf.weather.model.ZipWeatherDC.loadData_Data">
    <AttrNames>
    <Item Value="dayOfWeek"/>
    <Item Value="hiTemp"/>
    <Item Value="lowTemp"/>
    <Item Value="precip"/>
    <Item Value="sky"/>
    <Item Value="zipCode"/>
    <Item Value="img"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    Thanks in advance for any advice!
    Ross

    OK.  I typed the Name manually. But I neglected to hit the tab key twice to arrive at the Value input field.
    Screenshot 1
    After hitting tab key twice, value field is in focus and 2nd lightening bolt appears.
    Gads!  No wonder people mess this up. 
    Thanks, David.  I appreciate your clarification. 
    Nancy O.

  • File uri with query string can't be propagated by desktop.browse()

    I have been trying to show some help pages using the following command:
    java.awt.Desktop.getDesktop().browse( helpURI);
    while the helpURI.toString() prints out the following:
    file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html
    But when the getDesktop().browse() API is executed it will only propagate the uri-path and not the query string.
    So the browser shows the following url as a result of the browse() call:
    C:\Share\Code\phoenix\Install\REDIST\Help_Files\en\wwhelp\wwhimpl\js\html\wwhelp.htm
    But if I manually copy the string "file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html" to the internet explorer it works fine.
    So can somebody give me any guidance on how I can propagate the file uri with query string through the browse() API or is there a better API for that?
    Sibon.

    The "cmd /S /C" suggestion didn't seem to work. I don't think the problem is in java but how the command line parameter needs to be added from msdos shell to "iexplore.exe"
    When from the command line I enter the following command:
    iexplore.exe file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html
    I get the same result as invoking from java Desktop API --- it truncates everything from question mark. I tried palying around with double quotes, single quotes, escaping and nothing seem to work.
    Any ideas?

  • Hi! I have a WD my book external hard drive plugged into my imac and I want to share it over my network with my apple tv. I went into system preferences sharing, checked "file sharing" and added my external hard drive to the shared folder. So now it is

    Hi!
    I have a WD my book external hard drive plugged into my imac and I want to share it over my network with my apple tv. I went into system preferences > sharing, checked "file sharing" and added my external hard drive to the shared folder. So now it is listed in "shared folders" but under "users" everything is grayed out (it says "read and write" for "everyone" - but "read and write" is grayed out, and it doesn't let me add or subtract users). Now I can access all of the folders I shared from my imac except for the externalhard drive. What's going on?

    Hi RRFS!,thanks for help.I forgot to tell that hard drive has 2 partitions 1:format :Mac OS Extended (Journaled) and that works properly,2:format:MS-DOS (FAT32) and when i "get info" for both :first has shering & permitions:You can read and write - with name and privilege, second has shaing & prermissions:You can read and write- without name and privilege

  • Change query string in ireport xml file?

    greetings all
    iam newbie to xml
    first i want to add the xml file to a packge named first,how to do that?
    second i want to change the query string to be
    "select * from report where month= "+textfield.getText()
    here's the code:
    <?xml version="1.0" encoding="UTF-8"  ?>
    <!-- Created with iReport - A designer for JasperReports -->
    <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport
               name="Untitled_report_2"
               columnCount="1"
               printOrder="Vertical"
               orientation="Portrait"
               pageWidth="595"
               pageHeight="842"
               columnWidth="535"
               columnSpacing="0"
               leftMargin="30"
               rightMargin="30"
               topMargin="20"
               bottomMargin="20"
               whenNoDataType="NoPages"
               isTitleNewPage="false"
               isSummaryNewPage="false">
         <property name="ireport.scriptlethandling" value="0" />
         <property name="ireport.encoding" value="UTF-8" />
         <import value="java.util.*" />
         <import value="net.sf.jasperreports.engine.*" />
         <import value="net.sf.jasperreports.engine.data.*" />
         <queryString><![CDATA[SELECT * FROM report]]></queryString>
         <field name="category" class="java.lang.String"/>
         <field name="values" class="java.lang.Integer"/>
         <field name="series" class="java.lang.String"/>
              <background>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </background>
              <title>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </title>
              <pageHeader>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </pageHeader>
              <columnHeader>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </columnHeader>
              <detail>
                   <band height="201"  isSplitAllowed="true" >
                        <stackedBar3DChart>
                             <chart  hyperlinkTarget="Self" >
                             <reportElement
                                  x="32"
                                  y="21"
                                  width="394"
                                  height="144"
                                  key="element-1"/>
                             <box></box>
                                  <chartLegend textColor="#000000" backgroundColor="#FFFFFF" >
                             </chartLegend>
                             </chart>
                             <categoryDataset>
                                  <dataset >
                                  </dataset>
                                  <categorySeries>
                                       <seriesExpression><![CDATA[$F{series}]]></seriesExpression>
                                       <categoryExpression><![CDATA[$F{category}]]></categoryExpression>
                                       <valueExpression><![CDATA[$F{values}]]></valueExpression>
                        <itemHyperlink >
                        </itemHyperlink>
                                  </categorySeries>
                             </categoryDataset>
                             <bar3DPlot >
                                  <plot />
                                  <categoryAxisFormat>
                                       <axisFormat >
                                       </axisFormat>
                                  </categoryAxisFormat>
                                  <valueAxisFormat>
                                       <axisFormat >
                                       </axisFormat>
                                  </valueAxisFormat>
                             </bar3DPlot>
                        </stackedBar3DChart>
                   </band>
              </detail>
              <columnFooter>
                   <band height="3"  isSplitAllowed="true" >
                   </band>
              </columnFooter>
              <pageFooter>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </pageFooter>
              <summary>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </summary>
    </jasperReport>

    the xml file
    <?xml version="1.0" encoding="UTF-8"  ?>
    <!-- Created with iReport - A designer for JasperReports -->
    <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport
               name="test"
               columnCount="1"
               printOrder="Vertical"
               orientation="Portrait"
               pageWidth="595"
               pageHeight="842"
               columnWidth="535"
               columnSpacing="0"
               leftMargin="30"
               rightMargin="30"
               topMargin="20"
               bottomMargin="20"
               whenNoDataType="NoPages"
               isTitleNewPage="false"
               isSummaryNewPage="false">
         <property name="ireport.scriptlethandling" value="0" />
         <property name="ireport.encoding" value="UTF-8" />
         <import value="java.util.*" />
         <import value="net.sf.jasperreports.engine.*" />
         <import value="net.sf.jasperreports.engine.data.*" />
         <queryString><![CDATA[SELECT * FROM report WHERE category BETWEEN 'week1' AND 'week4']]></queryString>
         <field name="category" class="java.lang.String"/>
         <field name="values" class="java.lang.Integer"/>
         <field name="series" class="java.lang.String"/>
              <background>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </background>
              <title>
                   <band height="50"  isSplitAllowed="true" >
                        <staticText>
                             <reportElement
                                  x="158"
                                  y="7"
                                  width="183"
                                  height="37"
                                  key="staticText-1"/>
                             <box></box>
                             <textElement>
                                  <font size="14"/>
                             </textElement>
                        <text><![CDATA[               Report]]></text>
                        </staticText>
                   </band>
              </title>
              <pageHeader>
                   <band height="50"  isSplitAllowed="true" >
                   </band>
              </pageHeader>
              <columnHeader>
                   <band height="30"  isSplitAllowed="true" >
                   </band>
              </columnHeader>
              <detail>
                   <band height="4"  isSplitAllowed="true" >
                   </band>
              </detail>
              <columnFooter>
                   <band height="2"  isSplitAllowed="true" >
                   </band>
              </columnFooter>
              <pageFooter>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </pageFooter>
              <summary>
                   <band height="194"  isSplitAllowed="true" >
                        <stackedBar3DChart>
                             <chart  hyperlinkTarget="Self" >
                             <reportElement
                                  x="49"
                                  y="-6"
                                  width="369"
                                  height="200"
                                  key="element-1"/>
                             <box></box>
                                  <chartLegend textColor="#000000" backgroundColor="#FFFFFF" >
                             </chartLegend>
                             </chart>
                             <categoryDataset>
                                  <dataset >
                                  </dataset>
                                  <categorySeries>
                                       <seriesExpression><![CDATA[$F{series}]]></seriesExpression>
                                       <categoryExpression><![CDATA[$F{category}]]></categoryExpression>
                                       <valueExpression><![CDATA[$F{values}]]></valueExpression>
                        <itemHyperlink >
                        </itemHyperlink>
                                  </categorySeries>
                             </categoryDataset>
                             <bar3DPlot >
                                  <plot />
                                  <categoryAxisFormat>
                                       <axisFormat >
                                       </axisFormat>
                                  </categoryAxisFormat>
                                  <valueAxisFormat>
                                       <axisFormat >
                                       </axisFormat>
                                  </valueAxisFormat>
                             </bar3DPlot>
                        </stackedBar3DChart>
                   </band>
              </summary>
    </jasperReport>the java code:
    import java.sql.*;
    import net.sf.jasperreports.view.JasperViewer;
    import net.sf.jasperreports.engine.xml.JRXmlLoader;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.design.JasperDesign;
    import net.sf.jasperreports.engine.JasperReport;
    import java.io.OutputStream;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class ReportDriver {
    public static void createAndShowGUI(){
    Object[]obj={"1","2"};
    JComboBox combo=new JComboBox(obj);
    JFrame frame=new JFrame("Test");
    JButton button=new JButton("Show Report");
    frame.setLayout(new FlowLayout());
    frame.setLocationRelativeTo(null);
    frame.add(combo);
    frame.add(button);
    frame.setSize(150,100);
    frame.setVisible(true);
    button.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent e){
    show_report();     
    public static void show_report(){
    try{
             Class.forName("com.mysql.jdbc.Driver");
             Connection c = DriverManager.getConnection("jdbc:mysql://localhost/library", "root", "");
          }catch(Exception ex) {ex.printStackTrace();}
          try{
             JasperDesign jasperDesign = JRXmlLoader.load("F:\\Program Files\\Xinox Software\\JCreatorV4\\MyProjects\\chart2\\src\\report.xml");
             JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
             Connection c = DriverManager.getConnection("jdbc:mysql://localhost/library", "root", "");
             JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null, c);
             JasperViewer.viewReport(jasperPrint);
          }catch(Exception ex) {
             String connectMsg = "Could not create the report " + ex.getMessage() + " " + ex.getLocalizedMessage();
             System.out.println(connectMsg);
       public static void main(String[] args) {
        createAndShowGUI();
    }the problem is i want when the user selects 2 from the combobox and presses the button
    the where clause in the xml file is changed to BETWEEN 'week5' AND 'week8',how to do that?

  • Query string read as part of file name, throwing not found errors

    Hi all, I host a number of Web sites under a CF7 installation, Win2003.
    One site in particular is throwing not-found errors in response to certain search bot requests.
    In the IIS log, I noticed that for these requests, the query part of the URL is part of cs-uri-stem field value, but is not in the cs-uri-query field where it belongs:
    cs-uri-stem=                                               /index.cfm?template=24hour5.cfm
    cs-uri-query=<blank>
    instead of
    cs-uri-stem=                                               /index.cfm
    cs-uri-query=template=24hour5.cfm
    Evidently something somewhere is interpreting the entire URL as a filename, instead of a file name and a query string. When CF tries to locate the file it is throwing a not-found error.
    Maybe there is something weird about the question mark, but it looks normal to me.
    I can't seem to stop this error, since it is occuring at the OS, IIS, CF or jrun layer. Does anyone have any idea what is going on here, and what I can do about it?
    Thanks in advance.
    Joe

    Hey Reed, thanks for responding.
    I have a Cf utility that parses logs, so I modifed it to print out the ASCII codes for each character. They look normal, as far as I can tell. The question mark has a code of 63 which is correct, and no non-alphabetic characters precede or follow.
    One interesting thing is that the stem being called is an index.cfm file, and the query string argument happens to be a template name, and it ends in .cfm. That's why it is making it all the way to CF, which chokes on it, instead of IIS logging a 404 error.
    Often an identifiable bot is requesting these bad URLs, though I have spotted another request with agent 'Mozilla/4.0.' I suspect that is some kind of automated scan. (I also see other requests with the same agent name, though a different IP, that look like errononeously URL-encoded requests. These get filtered by URLScan.)
    I don't know for sure is whether the specific clients that make these bad calls always make them them wrong way. They appear to. Most clients that access the site do so normally.
    I wonder if there could be something in the request header, perhaps that instructs IIS to expect a different charset than what is actually used, or something like that.

  • Can you control a URL in eloqua from being adding the query string??

    If I am inserting a URL in an email, i cant seem to stop eloqua from adding extra parameters in the form of query string in eloqua.
    I want to make this happen because the URL doesnt seem to work if we add any extra parameter using query string.

    I've tired doing this and it did not work for me. However, I was able to find a solution that helped me a whole lot.
    After running all test runs - I found a solution that helped me take off the extra parameters that Eloqua adds to all URL's.
    I created my urls without placing "http://" or "https://" or http://www." or "https://www." and that helped take off all tracking.
    Re: Use of tinyUrl

  • How to work on files within shared workspaces

    I am trying to open pdfs from a shared acrobat workspace. It was necessary for me to download the 30 day free acrobat trial just to be able to fill in the form with client info, and now I cannot perform any action on the pdf because my 30 day trial has expired. Is there a way to work on the files from within the shared workplace, so the completed files are visible by the other admins?
    I have tried downloading the free trial again, just to get my work done, but naturally was not able.
    Any suggestions? I need to be able to actively work on the pdf, fill with info, then submit to colleagues.
    Thanks

    .TOD is JVCs version of an MPEG 2 file.
    Use Log and Transfer from the File menu and convert to ProRes.

  • Unwanted Query string appears in Apache access log file

    hi,
    i tried with the follwoing code to send the request for a servlet.
    uri = "/servlet/Participant";
    res.sendRedirect(getScheme( req ) + req.getServerName() + (req.getServerPort() == 454 ? (":" + req.getServerPort()) : "") + uri);
    Here i am not appending any QueryString. But the log entry in Apache2 HTTP Server dispalys the QueryString apeended. Below is the log entry.
    Host name - - [12/Apr/2009:23:58:58 +0100] "GET /servlet/Participant/?login.userid=mullapati&login.password=venkat12345 HTTP/1.1" 500 1274
    any thoughts how it is happening?
    Thanks,
    Venkatesh

    when u do a HttpServletResponse.redirect(url), the server merely sends a HTTP 307 response (Temporary Redirect) back to the client together with the url (which is what you formed up).
    It is up to the client to make a second request to the server at the redirected URL. Your client (whatever it is, browser, etc) could be appending the query string at the end of the URL.

  • How to get the original query string in an event receiver when dialogs are enabled

    I have scenario where I am adding a document to a document library which has an external data column on it. My goal for this column is to have it automatically populated with an appropriate value based on original query string to the page. The general
    idea is that I am on a custom page that has various webparts on it including a view of my document library that is context sensative based on the query string, and I want to use that context sensitivity not just to filter the list but also when adding documents.
    I have been searching around for solutions to this problem all day and have gotten this far:
    I have an event receiver attached to my document library that handles the ItemAdded event syncronously (as such I have the new list item available to me). In that event receiver I am able to set the column values as required. Where I am stuck is on getting
    the value from the query string that I need to actually set as the column value.
    Based on:
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/8cfcb299-9a55-4139-86ec-0b53b2922a54 and several similar articles/posts I have been able to get the original source Url with the query string I want via the following
    code in my event receiver:
    private HttpContext context;
    public EventReceiver1()
    context = HttpContext.Current;
    public override void ItemAdded(SPItemEventProperties properties)
    var originalQueryString = context.Request.QueryString["Source"];
    // Parse the query string and use the value ...
    The problem is that this solution breaks down if the dialogs are turned on under the advanced settings for the list. The reason the solution fails is because the "Source" query string parameter goes away and is replaced by "IsDlg" set to a value of "1".
    Does anyone know how to get past this hurdle? Any help would be greatly appreciated.

    Hi Stuart,
    The reason I'm looking for "Source" in the query string is because that is something I found to be reliable when the Dialogs are turned off. I've dug around pretty deep in the Request object to see if anything had the data I was looking for and unfortunately
    it doesn't appear to be there. The
    context.Request.QUeryString.ToString()
    returns a rather simple one of:
    List=%7b43ECDCB0-8440-4652-B067-AA20481779D7%7d&RootFolder=&IsDlg=1
    and the
    context.Request.UrlReferrer.Query.ToString()
    has the same value.
    I suspect this is due to the dual step process that takes place in adding an item to a document library where the first modal popup (which I suspect likely has the information I need) gives you the opportunity to browse to your file and then the second
    dialog (maybe this is getting brought up as a result of another request which is now referring back to the original request that brought up the first dialog?) where you edit your properties.
    Thanks for the try though, if you've got anything else I'd love to hear it.

  • PSE 9 and 5 will not import - says the file already exists in the catalog !

    I've already wasted 2 days looking for answers to this. When someone buys this program, at least half of the price is paying for the database in the Organizer - yet even John Ellis himself, who seems to know more than anyone about it, has gone to Lightroom. This is bad coding!!!
    Upgraded from 5 to 9. If you read my previous posts, this took 2 days too, and phone help from a tech, because it would not install in my XP computer. It did upgrade the Organizer from 5, although many of the symbols are unusable and don't work to help me identify my tags. However, now I see that neither 5 nor 9 is able to look at a file and display thumbnails that are in it.
    I move files around a lot for my business. Any half-way good database should be able to find the missing files, and also add any new images. Say I have 10 images in file A, then add 2 more to make 12. It can't see the added images! Says can't import, the file already exists in the catalog.
    I tried: updating thumbnails, recover, repair, in both 5 and 9 - nothing works. to import the images that I can SEE in these folders! I read here  that it will not import files if the same name is somewhere else. That alone is a problem.  But I think it's more than that: even if the file used to be in another folder, folder B, it won't recognize that it's in folder A now!
    Since PSE9 uses sql db, shouldn't that be better than 5 and be able to do simple tasks like this?
    Any advice or similar experiences eagerly welcomed.

    Thank you for replying, dj paiqe.
    Do you mean the first little section that says photos may not be displaying? Yes, those just reveal hidden photos and are very basic. I did them.
    I guess we disagree about databases and what they are designed to do, or maybe I didn't explain this well.
    I did not move the images outside of the catalog: I move them to various folders, all already imported WITHIN the catalog, as I send them to various editors. (these are all drawings, not photos, and I do this professionally, so it needs to work).
    Folder A and Folder B and Folder C have already been imported into the catalog. So if I move 2 images from folder B into folder A, the Organizer is simply lost, says image already exists, and everything is totally screwed up, as the image is no longer in folder B, and it can't find it in folder A!!! The problem is, unless I memorize the image name, say Image 9, I can't tell it to reconnect, as there is no longer an image in front of me! So there are 2 images, without names, now nowhere to be found. Inefficient, to say the least.
    I've never tried Lightroom or Filemaker, but I cannot believe that they would lose data like this. I think it's the Folder coding that's not working in PSE, and I wanted this to work so badly!!!!!
    I am willing to do it the PSE way, since you now have captions, keywords, etc, and it is a very powerful database, when it works. I understand that one is supposed to move images within the Organizer, obviously. But now many images are disconnected. I could start all over importing, but is there any way to do that without losing tags and categories?

  • How to manage Locale info in the URL path, but not the query string

    We are building an application using Struts 1.1 and Tiles, on Oracle Application Server 10.1.3.3...
    I know this is a strange question... but we have a requirement to represent the locale info in the URL string using one of the following options:
    option 1: /eng/page.do?id=2 for english.../fra/page.do?id=2
    option 2: /page-eng.do?id=2 for english.... and /page-fra.do?id=2 for french
    We need to represent the 3 letter ISO lang code either in the directory structure, or suffix the page name (in our case, the struts action name)... we cannot replicate this using a parameter in the query string. I know this is odd, but that is what we are told to implement.
    Is there any robust way of implementing either option in Struts 1.1, JSP, JSTL etc...?
    Currently, we are looking at using a servlet filter to intercept the HTTP requests, parse the URL string, and extract the ISO lang value, and set locale and forward on the request.
    This poses a few problems... adding additional action mappings (page-eng... page-fra... page) to our struts-xml.config file to handle lang permuations... but the biggest issue is all the embedded html:link action values throughout our code...
    Because all our public facing URLs must comply with the rule, we need to change the html:link action to point to a different action, based on locale.
    Very inefficent, and I'm sure not industry standard best practice... we are using Tiles, and resource bundles for all our labels etc... but fall short in meeting this rule with regards to URLs and locale.
    Any advice or tips etc.. is greatly appreciated.

    The filter option sounds like a good solution. So it can receive the urls and parse them appropriately.
    You just need to take it one step further.
    Additional actionmappings in your struts-config should not be necessary.
    Filter:
    - analyses the url and sets the appropriate locale
    - adjusts the url such that the next level of the chain does not have to know anything about the locale being encoded in the url string.
    Thus your struts classes and mappings can remain unchanged
    /eng/page.do or /fra/page.do once through the filter should just look like /page.do to struts.
    That should get rid of half of your headache.
    Next the issue of generating urls.
    There are two approaches I can see here
    1 - use the filter approach again, this time with some post processing. Gather the generated HTML in a buffer, and do a find/replace on any urls generated, to put the locale encoding into them.
    2 - Customise struts to produce urls in this format. This would involve the html:link tag, and the html:form tag at the least (maybe others?). Get the source code for struts, and grab the html:link tag code. Extend that class to generate urls as you want them to be generated. I think you would need to extend the class org.apache.struts.taglib.html.LinkTag and override the protected method calculateURL. You would then have to edit/modify the struts-html tld to point the link tag at your classes rather than the standard ones.
    Option 1 is architecturally good because it gives you a well defined layer/border between having the locale encoded in the url, and not having it there. However it involves doing a find/replace on every html going out. This would catch all urls, whether generated by html:link tag or not.
    Option 2 requires customising struts for your own requirements, which may be a bit daunting, but has the advantage of generating the urls correctly without the extra overhead involved with option 1. Of course you would have to ensure that ALL urls are generated with the html:link tag.
    On reflection, I think option 1 is preferable, as both easier and quicker to implement, and doing a better separation in the architecture.
    Cheers,
    evnafets

  • FLVPlayback source with query strings (parameters) doesn't load

    Flash version: CS4
    AS version: AS3
    I'm currently trying to use the FLVPlayback component and pass a source FLV that's living on a cloudfront webserver. The problem is that the cloudfront requires authentication in the form of query strings in the source FLV. For example:
    import fl.video.*;
    var mainMovie:FLVPlayback = new FLVPlayback();
    mainMovie.source = "http://www.somedomainname.com/firmware.flv?dummyquery=22";
    trace(addChild(mainMovie));
    As soon as I take away the "dummyquery", it works fine. When I add a query string, it breaks (nothing loads).
    Here is the error output I get:
    [object FLVPlayback]
    VideoError: 1005: Invalid xml: URL: "http://www.somedomainname.com/firmware.flv?dummyquery=22&FLVPlaybackVersion=2.1" No root node found; if url is for an flv it must have .flv extension and take no parameters
         at fl.video::SMILManager/http://www.adobe.com/2007/flash/flvplayback/internal::xmlLoadEventHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at flash.net::URLLoader/onComplete()
    It adds on "&FLVPlaybackVersion=2.1" to the end.
    I saw a different article that said I should add a dummy variable at the end like "&dummy=.flv" because I was told that Flash is basically looking for an .flv extension at the end and you can trick it, but it doesn't work because they add on additional code.
    Does anyone know how to work around this?

    Hey supervu,
    I know you already found a workaround to make this work, just figured I'd post an alternative to editing the FLVPlayback compoent. I also am retrieving an FLV file via a .Net ASHX file. To keep both worlds happy, I used a URLRewriter module to translate for me... this one translates what I am using for the FLVPlayback component source:
    http://domain.com/flv/22.flv  to be resolved as http://domain.com/API/resource.ashx?ID=22
    There is of course no flv folder in the root of my application...
    Here is my very simple URLRewriter class in vb.net:
    Imports Microsoft.VisualBasic
    Imports System
    Imports System.Web
    Public Class URLRewriter
        Implements IHttpModule
        Public Sub Init(ByVal inst As System.Web.HttpApplication) Implements System.Web.IHttpModule.Init
            AddHandler inst.BeginRequest, AddressOf Me.OnBeginRequest
        End Sub
        Public Sub OnBeginRequest(ByVal app As Object, ByVal e As EventArgs)
            Dim inst As HttpApplication = CType(app, HttpApplication)
            Dim req_path As String = inst.Context.Request.Path
            Dim trans_path As String = ""
            Dim search As String = "/flv/"
            Dim pos As Integer = req_path.IndexOf("/flv/")
            If pos > -1 Then
                Dim key as string = req_path.Substring(pos + search.Length, (req_path.LastIndexOf(".flv") - (pos + search.Length)))
                HttpContext.Current.Response.Redirect("~/API/resource.ashx?ID=" & key )
            End If
        End Sub
        Public Sub Dispose() Implements System.Web.IHttpModule.Dispose
        End Sub
    End Class
    and make sure you add this to your web.config.. this will cause URLRewriter to intercept all HTTP requests, and redirect as needed.
    <system.web>
         <httpModules>    
              <add name="URLRewriter" type="[Namespace].URLRewriter"/>
          </httpModules>
    </system.web>
    Hope this helps someone.

Maybe you are looking for

  • IPhoto '11 works on one user account but not the other

    I upgraded to iPhoto '11 from iPhoto '08 a couple of weeks ago using the MacApp store. After doing so, I opened the application on my main user account, received a message that the library had to be updated, the application did so, and it has been wo

  • Unable to approve leave request in ESS

    Hi     While trying to approve leave in ESS/MSSm getting the following error     After clicking the link in SAP inbox / Universal Work List in MSS an error is encountered.     In R3 we have analysed the error in ST22 transaction which says-- The curr

  • [Solved] gsimplecal auto focus problem with openbox+tint2

    I'm using these apps described above. Well, after I click the clock in tint2, the gsimplecal shows, but, it won't get focus automatically, which annoyed me a lot. I've already set <focusNew>yes</focusNew> in my openbox/rc.xml. Also, I noticed that ev

  • Can't edit info's

    Since my brother made a sincronization with my ITunes an my IPhone5 I can only change my informations in my itunes library, but not in my i-phone, so I change info's in my library and then sinchronize over and over evry time I add something. Just tod

  • J1INCHLN Challan Number

    Dear All I have a situation where, the J1INCHLN was processed and document number got generated but the Challan Number didnt get generated . What might be the reason? Pls guide as it is very urgent Thanks & Regards Veena