How to search recently modified pages in AEM5.6 using OOTB search component

Using OOTB search component how to list the result pages like the recently modified page should come first.(desc) i am not able to find an method in the Search.java also i cant extend the method since its a final class. Any suggestion will be of great help.

Hi Ajjjjjjjjjjittttttttt,
It looks like your question is about Adobe Experience Manager; not Adobe Exchange. In order to get help from the Adobe Experience Manager team, you should re-post your question in the Adobe Experience Manager Forum, where someone should be able to help: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experie nce-manager.html
Best wishes,
Fraser

Similar Messages

  • Adobe Acrobat X Std. How do I save modified pages with comments only?

    I have a 500 page document which I edited few pages. I was wondering if there is a way to save  (in pdf format) only the modified pages that includes the text comments + add file or pictures.
    I would appreaciate any assistance with this question.

    You'll want to ask in the forum for Acrobat. This one is for the free Reader which cannot do any of this.
    But to get you started, you can use Document>Extract pages to create a new file of the modified pages...

  • How to test the JSP pages and sevlets using JUnit. ?

    How to test the JSP pages using JUnit. How to configure what are all the steps to execute the JUnit test cases.

    Hi xiepei,
    since you are using modbus, a simple error checking is implicit in the protocol and is the comparison between returned checksum and the calculated one on the received message: checksum errors, if any, are an effect of communications errors (you should have at least 2 bits changed and on particular patterns to have the checksum be calculated correctly!). You won't be able to calculate BER on them, but you can calculate PER (Packet Error Rate).
    Another flag for communication errors, on the other direction, is to intercept error messages from the device: if it fully implements modbus protocol, it should return some warning in case of error (I seem to remember that in some cases it returns the reveived message with some error bits added: please check in modbus documentation).
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to store and retriew .pdf or .doc using file uploader component

    hi,
    I want to store a .pdf / .doc file in the database and retiew it. I am using
    sun studio enterprise for EJB developing(sun application server as the container) , Oracel as DBMS and sun studio creator for frontend.
    kaushalya

    public String saveButton_action ()
            // TODO: Process the button click action. Return value is a navigation
            // case name where null will return to the same page.
            tagsDataProvider1.cursorLast ();
            //UploadedFile f = fileUpload1.getUploadedFile ();
            if (fileUpload1.getUploadedFile ()!=null)
                tagsDataProvider1.setValue ("attachment",fileUpload1.getUploadedFile().getBytes ());
                tagsDataProvider1.setValue ("attachmentfilename",fileUpload1.getUploadedFile().getOriginalName ());
                tagsDataProvider1.setValue ("attachmentcontenttype",fileUpload1.getUploadedFile().getContentType ());
            tagsDataProvider1.commitChanges ();
            return "home";
        }This servlet returns the data to the user unadulterated:
    * FileView.java
    * Created on October 6, 2005, 4:50 PM
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package docman;
    * @author USER
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    public class FileView  extends HttpServlet {
    String ct;
    String type;
        /** Creates a new instance of DisplayPicture */
        public FileView() {
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
        public void destroy() {
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            String id=request.getParameter("id");
            type=request.getParameter("type");
            //String ct=request.getParameter("contenttype");
            //if ((ct==null)||(ct.equals(""))) {
                //ct="image/x-jpeg";
                //ct="image/bmp";
            System.out.println("FileView 1.0");
            System.out.println("requested file with ID: "+id+" content: "+ct+" Doctype:"+type);
            try {
                ServletOutputStream out = response.getOutputStream();
                byte[] f=this.getImage(id);
                response.setContentType(ct);
                out.write(f);
            } catch (Exception e) {
                System.out.println(e.getMessage());
                e.printStackTrace();
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Displays a picture from the database identified by a parameter IMAGEID";
        private byte[] getImage(String id) throws IOException {
            Statement sta=null;
            Connection con=null;
            ResultSet rs=null;
            byte[] result=null;
            try {
                Context initContext = new InitialContext();
                Context envCtx = (Context) initContext.lookup("java:comp/env");
                DataSource ds = null;
                try{
                     ds = (DataSource)envCtx.lookup("jdbc/xxxxx");
                }catch ( javax.naming.NameNotFoundException ex){
                    log("No context found for jdbc/xxxxx in java:comp/env Attempting to look it up in initial context");
                    ds = (DataSource)initContext.lookup("jdbc/xxxxx");
                Connection conn = ds.getConnection();
                sta = conn.createStatement();
                if(type==null){rs=sta.executeQuery("SELECT * FROM tags where tagid="+id);}
                else if (type.toLowerCase ().equals("tag")){rs=sta.executeQuery("SELECT * FROM tags where tagid="+id);}
                else if (type.toLowerCase ().equals("crewdoc")){rs=sta.executeQuery("SELECT * FROM crewdocumentation where docid="+id);}
                if (rs.next()) {
                    result=rs.getBytes("attachment");
                    ct=rs.getString ("attachmentcontenttype");
                    System.out.println("bytes returned : "+result.length);
                } else {
                    System.out.println("Could find image with the ID specified or there is a problem with the database connection");
                rs.close();
                sta.close();
                conn.close();
            } catch (Exception e) {
                log(e.getMessage());
                e.printStackTrace();
           // ByteArrayOutputStream output = new ByteArrayOutputStream();
            //output.write(result, 78, result.length-78);
            //output.flush();
            //output.close();
            //return output.toByteArray();
            return result;
    }I pinched both from examples i found on this forum using the search facility...
    And this hyperlink retreives the file:
    <ui:hyperlink binding="#{TagView.tagHyperlink}" id="tagHyperlink"
                                        text="#{TagView.tagsDataProvider.value['tags.attachmentfilename']}" url="/servlet/FileView/?id=%23%7BTagView.tagsDataProvider.value%5B'tags.tagid'%5D%7D+"&"+#{TagView.tagsDataProvider.value['tags.attachmentfilename']}"/>

  • How to send HTML email to End User using OOTB email processs?

    Hi,
    We are using OOTB Send email process to send email to end user.
    Templates has been created inside /etc/workflow/ProjectName/email folder.
    Its working properly for plain text email.but for html template ,It send the email with html tags.
    Any pointer on how to write html template for OOTB email process and activate email type as html ?
    Thanks
    Deepika

    Thanks Sham..
    I am able to send HTML email following above link.
    The problem i am facing is,When i am deploying the code through crxde.Code is working fine.
    But using maven deploy..Bundle get activated ..But at line:
    messageGateway = this.messageGatewayService.getGateway(HtmlEmail.class);
    ,it gives null Pointer exception.
    Any pointer,why its not working from maven deployment.
    Regards
    Deepika

  • Getting error as "Error occurred during your search, contact your system administrator" while using talent search in portal (TREX)

    Hello Experts,
         We are facing an issue like when our Talent specialist are trying to use talent search through their portal they are getting an error like "Error occurred during your search, contact your system administrator" as shown below.
         We have checked in our backend and for all the talent specialist search results are showing successfully.
         Anyone of you kindly help us to get this sorted out.
    Thanks & regards,
    Sakthi

    Hi Sarabjeet,
    The XML iView uses server-side fetching, so if you are having problems with a regular URL iView in server-side fetching mode, so the problem with the XML iVIew probably has to do with the proxy settings.
    And since you got a 407 error, it seems there is an issue with proxy settings or the proxy server, as mentioned in this description of 407 error:
    The HTTP 407 code only applies to users who are accessing the Internet behind a proxy server. This is common in government and corporate workplaces. The 407 code indicates that your computer must first authenticate itself with your company's proxy server. Check with your IT department or computer support group as to the exact reason why you may be getting this error. It may be possible that the proxy server does not allow downloads of specific files (exe, cab, com). You can also verify that your proxy server settings are valid.
    I will check if I can find out any more specific info.
    Daniel

  • How to display recently viewed pages?

    Im looking for advice/tutorial on how to display a vertical
    list (<ul>) inside a div which will display say the last few
    pages (via their title) which a user has viewed on my site. Just a
    simple vertical text based list rather like the list shown on the
    "Back" button in IE. Are we talking croutons?
    If a user leaves the site then goes back I want the list to
    be cleared again.
    Ok I know people may say, just use the back button but I
    thought it could be a handy feature on the page itself.

    Hi freidaf1,
    You should take a look at the Tile Tabs add-on:
    https://addons.mozilla.org/en-US/firefox/addon/tile-tabs/
    I believe it will do exactly what you are looking for. You could always open multiple windows, but I think this is a more elegant solution.
    Hopefully this helps!

  • How to get the total page number when using Crystal Report in JSP

    In my JSP, I use the class CrystalReportViewer to generate and display the report views. But this class only sypply the function to get the info of the active view.
    Thus with this info, I only can get the active view's page number. How can I get the report total page number without showing the last page first?
    Thanks.

    Anything you do without submitting to form has to be done on the client side (ususally by JavaScript) using data which has been send already from the server.
    With JavaScript you can do quite a bit. You can download tables which don't necessarilly appear on the screen, loading them into JavaScript arrays by dynamically generating javascript. Then you can pick up events like drop-box selection and use these tables to chose what you do next (e.g. preloading other fields, setting drop box content etc.).
    Or, you can cause forms to be submitted when actions like a selection happen without the user clicking a button. It's generally a matter of how much data you'd need to transmit.
    Another posibility is to use a Java applet, which can generate requests to the server and handle the results as it chooses. That are a number of problems with that but occasionally it's the best solution.
    What you can't do is to handle user input inside a JSP. The JSP has come and gone before the user even gets to see your form.

  • How do I change the default country Safari uses to search?

    I am living in China, but I am an English speaking Canadian.
    Safari's omnibar search defaults to google.hk. 
    I would prefer it to use google.ca.
    How can I change this without an extension or plug in?
    Thanks.

    From the menu bar, select
     ▹ System Preferences... ▹ Language & Region
    Select the region you want from the Region menu. Close the preference pane. You may have to log out and log back in for the change to take effect.

  • How can i get a refined internet search, only show words that are used in search request

    Can i get a refined search. For example, show only the words that have been entered in the searchbar

    Hi,
    You can try putting the word or phrase inside double quotes (" "). I think this would work in most search engines.
    [https://support.google.com/websearch/bin/answer.py?hl=en&answer=134479&topic=1221265&ctx=topic Google Search help]
    [http://help.yahoo.com/kb/index?locale=en_US&page=content&y=PROD_SRCH&id=SLN2242 Yahoo Search help]
    [https://duckduckgo.com/params.html DuckDuckGo help]

  • How to add a portlet page without the use of EBCC

    I know that you can add a portal page using EBCC but can a user do this through
    the portal?
    So can a user after logging in, create a portal page and give it a certain name
    that he came up with and then add some portlets in this page?
    Any help on this matter would be appreciated!!!
    Thanks,
    -Saïd

    Jalpesh,
    I believe that the question is more on the user customization side of things.
    Can a registered web site user create their own portal page? Then add already
    created portlets to it. I think that this functionality is like on my.yahoo.com.
    As far as I know the bea portal server doesn’t have this functionality. A user
    may have access to predefined pages and that page has associated portlets. Then
    there is a layer of security associated with all of this called customer entitlements.
    -Travis
    Jalpesh Patadia <[email protected]> wrote:
    Hello Said,
    In WLP 4.0 and WLP 7.0, the each portlet was defined by its own xml
    definition. So to answer your question, I do not think you can create
    new portlets through the JSP Admin Tools.
    What you can do is try to automate the process so that your portlets
    are
    created using a sample portlet xml file and then modify the portal.xml
    so that that portlet is added to its list. You can then data sync your
    portal. To make is visible, you will still have to manually set the
    visible and available attribute to true in the JSP admin tools.
    Thanks,
    Jalpesh.
    Saïd wrote:
    I know that you can add a portal page using EBCC but can a user dothis through
    the portal?
    So can a user after logging in, create a portal page and give it acertain name
    that he came up with and then add some portlets in this page?
    Any help on this matter would be appreciated!!!
    Thanks,
    -Saïd

  • How to parser a html page and get useful information?

    now ,I try to get the page by the url,after getting the whole page,
    is there any way to get the useful text ,and abandon other ,liks ,ad likes,
    other related links?
    I try to use java.util.regex.*;
    is there any other methods for dointg this?

    Regex isn't a good method unless your requirements are quite simple. In general if you want a Java HTML parser they are not hard to find -- "java html parser" is a good choice of keywords for an internet search.

  • How to go back a page in finder using gesture like OS Snow Leopard

    I used to be able to do "back" in finders, and safari or any other web brower by swipping 3 fingers to the left on the touch pad in OS Snow Leopard. Does anyone know how do I do it in Lion?

    Hi Thanks, but i just found the answer. It is as below.
    https://discussions.apple.com/message/15675137#15675137
    Thanks for your reply.

  • How to find all oaf pages that are using a table in their VOs

    Hello everyone,
    I need to findout all the View Objects and Entity Objects that are using a table lets say A. Is there a smart way to find out all the VOs and EO's that are using my table?
    Thanks
    Sunny

    Technically there would be only one EO for your table (if its Oracle code). VOs contain queries and there might be many which refer the table.
    One option I can think of is doing a table name search in the various (EO and VO) directories on JAVATOP. Its the XML (99% cases) that would have the queries. Rest 1% having dynamic VOs, it would be difficult to determine.
    Regards

  • How do I send a page or link using firefox? I know with IE I could do it with a click of the mouse

    none available

    Your plugins list shows outdated plugin(s) with known security and stability risks.
    * Java Plug-in 1.6.0_03 for Netscape Navigator
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp#jdk (you need JRE)

Maybe you are looking for