Images Links list iview

Hi we want to have an iview that list images but images link, when you click on the image you go to a internal or external link, that is very normally in web:
IMAGE1(internal link1)
IMAGE2(external link2)
IMAGE3(...)
IMAGE4(...)
IMAGE5(...)
We want to have the images and the links in a folder of km,
is possible to do that without developing with standar Iviews or flexible user interface?
in case of we have to develope, we have to read the images and the links of KM, can anyone provide me an example to do that?
Thanks in advanced.
Regards.

Hi,
This code
* Returns contents of a given folder
private IResourceList getFolderContents(String folder){
     // Access relevant resources in the KM
     IResourceList list = null;
     IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
     IUser user = (IUser)request.getUser().getUser();
     if(user.isAuthenticated()){
          RID rid = new RID(folder);
          IResourceContext rContext = new ResourceContext(user);
          try{
               IResourceFactory rFactory = ResourceFactory.getInstance();
               IResource resource = rFactory.getResource(rid, rContext);
               if(resource.isCollection()){
                    ICollection collection = (ICollection)resource;
                    list = collection.getChildren();
          }catch(ResourceException e){
               // You can make this avaiable for debuging
               //myForm.addRawText("<script>alert('ResourceException in getFolderContents()');</script>");
     return list;
}// End Method getFolderContents
will give you the list of all resources in a folder.
This code
IResourceList list = getFolderContents(folder);
IResourceListIterator listIt = list.listIterator();
while(listIt.hasNext()){// Display all valid news items
     IResource res = listIt.next();
     try{
          RID rid = res.getRID();
          displayName = res.getDisplayName();// Resource name
          description = res.getDescription();// Resource description
     }catch(ResourceException rE){
          // You can make this avaiable for debuging
          //myForm.addRawText("<script>alert('ResourceException in doProcessBeforeOutput');</script>");
will call that method and then iterate over all resources grabbing their display names and description properties.
I would simply create a DynPage project for this.
Best regarsd,
Patrick.

Similar Messages

  • Customizing Link Lists (or Links List) iView

    Our Links List iView holds large number of subfolders and links.
    By default, the iView shows links and first level subfolders with their links and subfolders.
    Otherwords second level subfolders are 'open'.
    The problem is that because there are so many links, the iView height is not big enough to show first level links and folders (scrolling required).
    Is there any way to set Links List iView so that it doesn't open second level folders unless users click on them?
    Thanks!
    Rob

    Hi,
    You can use image map to navigate for km. But you can not do that you want. To do that you can modify this image map collection renderer.
    Patricio.

  • Links List iView: Hiding the "Organize Entries" Command

    Hi all!
    I am using the Links List iView to display some corporate links. This iView shows an "Organize Entries" control to update the list by default. However, in my requirement, i need to hide this command from the end user. I have taken a look on the Layout Sets involved and have not found this control; Also, i've seen on the Help System that if i change the permissions on the folder, the iView hides this control, but i've tried that and it didn't work.
    Do you know how can i hide this control?
    Thanks for your help!
    Regards,
    Thiago

    Hi Thiago,
    I am not sure if I understood your question correctly.
    When you click on 'Advanced Copy', you have several options: you can add a prefix or a suffix to the name of the LayoutSet or you can replace a prt of the name. You can find more information on this issue on help.sap.com: http://help.sap.com/saphelp_nw04/helpdata/en/30/562cbf45c5b440a2885877a1c230d5/frameset.htm
    Is this what you have been looking for?
    Kind reagrds
    Karin

  • How is Define Links on Confirmation Page-link list key linked to iviews?

    Hi All,
    Although there is no ESS in MSS as such in our new portal (hompage framework), we have configured it as much as we could, so that it was similar to the previous ESS in MSS.  We have used a copy of the ESS address iview for the ESS in MSS emergency contact.
    The trouble is that the links on the confirmation page are trying to resolve to ESS rather than resloving to an option in MSS.  E.G. the Go to Address Overview link is trying to resolve to the address overview screen in ESS rather than MSS.
    I have  checked the parameters on the view and there does't appear to be anywhere that you can assign the lnk list key.  Similarly I have checked the resources and the services parameters and have nowhere to put this key.
    So my question is, how exactly is the link list key attached to an iview? In our case the iviews are in 2 different PCD's so how can I create a zlink list key and assign it to the copied address iview?
    Many thanks,
    Liz.

    The confirmation links are defined in V_T7XSSSERLNK - as far as I can see they are linked to services not iviews
    defined in HpF
    Also "ESS in MSS" is available as "Self-Service for My Employee" in MSS Related Activities for certain SAP releases
    Best wishes
    Stuart

  • ITunes Store image links do not display - previews & purchases do not work

    PLEASE HELP!
    Below are the images of what I am seeing.
    And I promise you I have really made an effort to research and try to resolve this without success. I have even run iTunes on a completely seperate computer and a different login (both OS user login and iTunes store login) and have the exact same issue.
    I have reinstalled with a reboot (several attempts), performed a winsock reset, followed procedures in TS4123 for LSP conflicts, I have cleared my cache, I have checked for Firewall issues, I have restarted my cable modem, I have copied iTunes store links to a browser to check that images are displaying - nothing resolves this problem.
    Email support has only recommended what is already posted in communities forum and on the knowledge base.
    I have seen that in past there have been posts related to this specific issue but were not answered (for what I found). It seems that unless you are having a complete white screen when accessing the iTunes store that there is no solution for a problem like mine??
    Also only "Ping" will display all images for image links.
    Thanks in advance for any help / feedback!
    and
    * .... I should reiterate that I can not make any purchases, save to wish list, watch or listen to previews.

    Update:
    Still trying to resolve this problem (been working on it for the better part of 2 days now)
    KB - TS1379  ( http://support.apple.com/kb/TS1379 )  Also does not resolve this issue...
    Still need help please.

  • Share Image,Link and Text to Social Networking App from My Windows Phone App

    Hi,
    I am developing windows phone 8.1 silverlight app where I want to share Images,Links and text to Social Networking App Like Facebook,Twitter,Whatsapp and Instragram.
    In Share content contains A Image of App Icon, A Link of App website and I invitation Text.
    There are Five buttons
    Share by Email
    Share by Facebook
    Share by Twitter
    Share by Whatsapp
    Share by Instragram
    Problems which I faced
    I can not attached image to Email. How it is Possible.?
    I can only open whatsapp from my App. But can not share to this
    I have used Share task but in list of app there is no whatsapp and instragram app ( I know there is no official app for instragram but it is Instragram Beta app)
    Please guide me how can I share my content to all above app

    Please see this sample application:
    https://code.msdn.microsoft.com/windowsapps/Sharing-Content-Source-App-d9bffd84
    You cannot control what appears in the share UI.  The Share UI Will show all applications that have registered to receive the type of content you are sharing.  So if a particular application is not appearing, then it is not registered as a Share
    target for that content type.
    I would run the sample on your phone for the various content types.  it should give you a good idea of which apps are registered for which content type.
    Bret Bentzinger (MSFT) @awehellyeah

  • Can I use Links list to make a selection in a finder window?

    I have a .indd file with about 75 placed graphics. The graphics are in a folder with 150+ images. I want to delete all the unused images from this folder. Is there a way to "select in finder" those images included in the indd file? I'm trying to avoid manually going back and forth from the Links list to the Finder window to make this selection. (Yes, I've admonished the author to please clean up their folders in advance, but that didn't happen and now I have 10 book chapters with this same problem this my motivation to solve via computer automation.)

    You didn't give your ID version. In CS3, I'd package the file with links, empty the image folder and then copy back the linked images from the package to the original folder. Then delete the package.
    Noel

  • Creating a webpart that is only visible when an image link is clicked

    Hi, 
    Is it possible to make Webpart in Sharepoint 2010 only appear when a link or image is clicked?
    i have 5 image buttons on my site page and for one of them, when it is clicked, the user will be directed to the Contents webpart i have created. This webpart should only be visible when the image linked to it is clicked, otherwise it should be hidden. Is
    this possible?
    Any assistance is greatly appreciated.
    Thanks & Regards, Aarti

    That's easy using jquery. Refer to the following posts
    http://social.technet.microsoft.com/forums/sharepoint/en-US/c437ecc4-c757-483f-8175-f92860d184be/hideshow-webpart-data-on-buttonclick-using-jquery
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/219b388e-0979-46b4-9a46-f7e6449738b8/hide-and-show-a-list-view-webpart-by-clicking-on-a-link-in-the-same-webpart-page-in-sharepoint-2010?forum=sharepointgeneralprevious
    --Cheers

  • Organizing entries in link list shall not be possible for standard users

    Hello,
    how can I avoid that a standard user can organize the entries in the iView <i>Links List</i>?
    That means the link 'Organize Entries' shall not be shown for them.
    Only the content manager shall be able to organize.
    Regards,
    Susanne

    I got the solution by myself:
    In the KM repositories click on the context menue of /documents/links and choose 'Details'.
    In the opened window choose Settings > Permissions and change the permission you like.

  • Having trouble with Linked Lists

    I'm making a JApplet with buttons from a Linked List, and the buttons should be unique but they're all returning the same icon and string. Also my refreshImages method and deleteStudents method aren't working except for the very last button. This seems like it's just because of how Linked Lists operate, but I can't wrap my head around it.
    public class FacebookApplet extends JApplet implements ActionListener{
         private Scanner input;
         protected RefSortedList studentsList;
         protected RefUnsortedList buttonList;
         Student studentVar;
         private JButton b, refreshButton, deleteButton;
         private JPanel buttonPanel, etcPanel;
          * Calls:     readStudentNames, setUpImages
         public void init(){
              readStudentNames();
              setUpImages();
              setLayout(new BorderLayout());
              setSize(500,670);
              etcPanel = new JPanel(new BorderLayout());
              refreshButton = new JButton("Refresh");
              deleteButton = new JButton("Delete");
              buttonList.reset();
              etcPanel.add("West", refreshButton);
              etcPanel.add("East", deleteButton);
              add("North", buttonPanel);
              add("South", etcPanel);
              refreshButton.addActionListener(this);
              deleteButton.addActionListener(this);
          * Pre:          students.dat in current directory
          *                studentList instantiated
          * Post:     studentList has Student objects with names, not images(yet)
          * Purpose:     to set up studentList with student names
         private void readStudentNames(){
              try {
                   FileReader dataInput = new FileReader("students.dat");
                   input = new Scanner(dataInput);
              } catch (FileNotFoundException e) {
                   System.err.println("ERROR:Students.dat file not found");
                   e.printStackTrace();
              studentsList = new RefSortedList();
              while(input.hasNextLine()){
                   String studentName = input.nextLine();
                  studentVar = new Student(studentName);
                   studentsList.add(studentVar);
              System.out.println(studentsList + "");
         }//readStudentNames()
          * Pre:          studentList set up with names
          *                .jpg files are in current directory
          * Post:     buttons set up with images in buttonList and buttonPanel
          * Purpose:     to set up buttons with Student names and images
         private void setUpImages(){
              ImageIcon studentPic;
              Student studentStringPic;
              studentsList.reset();
              buttonList =  new RefUnsortedList();
              buttonPanel = new JPanel(new GridLayout(5,3));
              for (int k = 0; k < studentsList.size(); k++) {
                   studentPic = new ImageIcon(studentVar.toString() + ".jpg");
                   studentStringPic = new Student(studentVar.toString(), studentPic);
                   b = new JButton(studentStringPic.toString(), studentStringPic.getIcon());
                   b.setVerticalTextPosition(AbstractButton.BOTTOM);
                  b.setHorizontalTextPosition(AbstractButton.CENTER);
                   b.addActionListener(this);
                   buttonList.add(b);
                  buttonPanel.add(b);
                   studentsList.getNext();
          * Pre:          buttonList set up
          * Post:     All buttons enabled
          * Purpose:     To enable all buttons in buttonList
         public void refreshImages(){
              for(int i=0;i<buttonList.size();i++){
                   b.setEnabled(true);
                   buttonList.getNext();
         * Pre:     buttonPanel, buttonList set up
         * Post:    disabled buttons removed from buttonPanel
         * Purpose: To delete those students whose buttons are disabled
        private void deleteStudents(){
             for(int k=0; k<buttonList.size();k++){
                  if(!b.isEnabled())
                       buttonPanel.remove(b);
                  buttonList.getNext();
             this.repaint();
         public void actionPerformed(ActionEvent e) {
              JButton b = (JButton) e.getSource();
              if(e.getSource() == deleteButton){
                   deleteStudents();
              else if(e.getSource() == refreshButton){
                   refreshImages();
              else{
                   b.setEnabled(false);
    }Student Class:
    public class Student implements Comparable{
         private String name;
         private Icon icon;
         public Student(String nameT){
              name = nameT;
         public Student(String nameT, Icon iconT){
              name = nameT;
              icon = iconT;
         public int compareTo(Object arg0) {
              if(this.equals(name))
                   return 1;
              else
                   return -1;
         }//compareTo()
         public boolean equals(){
              boolean equalTo = false;
              if(this.equals(name))
                   equalTo = true;
              return equalTo;
         }//equals()
          * Pre: LL is instantiated and filled
          * Post: none
          * Purpose: return the name of the student
         public String toString(){
              return name;
         }//toString()
         public Icon getIcon(){
              return icon;
    }

    I fixed the other things, I just need to fix two more problems and then clean up my code so it looks more professional.
    First problem: When I add the Student variables to the studentsList, they aren't sorted. I think this is because they aren't being read as Strings and so there's no way to compare them. I could just do studentVar.toString(), but then studentsList would be full of Strings and not Students. Any ideas?
          * Pre:          students.dat in current directory
          *                studentList instantiated
          * Post:     studentList has Student objects with names, not images(yet)
          * Purpose:     to set up studentList with student names
         private void readStudentNames(){
              try {
                   FileReader dataInput = new FileReader("students.dat");
                   input = new Scanner(dataInput);
              } catch (FileNotFoundException e) {
                   System.err.println("ERROR:Students.dat file not found");
                   e.printStackTrace();
              studentsList = new RefSortedList();
              while(input.hasNextLine()){
                   String studentName = input.nextLine();
                  studentVar = new Student(studentName);
                   studentsList.add(studentVar);
              System.out.println(studentsList + "");
         }//readStudentNames()Here's the add() method of RefSortedList:
    public void add(Comparable element)
      // Adds element to this list.
        LLObjectNode prevLoc;     // trailing reference
        LLObjectNode location;    // traveling reference
        Comparable listElement;   // current list element being compared     
        boolean moreToSearch;            
        // Set up search for insertion point.
        location = list;
        prevLoc = null;
        moreToSearch = (location != null);
        // Find insertion point.
        while (moreToSearch)
          listElement = (Comparable)location.getInfo();
          if (listElement.compareTo(element) < 0)  // list element < add element
             prevLoc = location;
             location = location.getLink();
             moreToSearch = (location != null);   // stop looking at end of list
          else
            moreToSearch = false;     // list element >= add element
        // Prepare node for insertion.
        LLObjectNode newNode = new LLObjectNode(element);
        // Insert node into list.
        if (prevLoc == null)        
          // Insert as first node.
          newNode.setLink(list);
          list = newNode;
        else
          // Insert elsewhere.
          newNode.setLink(location);
          prevLoc.setLink(newNode);
        numElements++;
      }

  • [FM11] Print Image Link and Index Markers with specific Character Style

    Hello,
    I'm new with scripting for Framemaker. I want to export FM docs to RTF so I can import these into InDesign. For the placed images I want to insert a text line that is showing the image link (reference). Besides that I want to show the Index Markers at the mark insertion position with a different Character Style. Can someone help me with that?
    Regards, Sjoerd

    Hello Sjoerd,
    One note about your method to retrieve all linked graphics: this will also process the graphics that might be linked into the master and reference pages. Just to be safe against unwanted side effects you should restrict your list of graphics to the ones in the main flow of your document.
    About the tLoc: you are really looking for the anchor of the anchored frame that contains graphic. It is a little confusing that FM calls both the anchored frame and the imported graphic by the same name. Even if you add an anchored frame to the text to put an equation or a text box in your document, the anchored frame will show up in the linked list of graphics in the document. If you do have an anchored frame containing an imported graphic file, you have a list of graphic objects inside the anchored frame, which itself appears in the list of graphic objects of the document.
    This function should do what you want to do:
    function ListGraphics(doc)
              var aframe = doc.FirstGraphicInDoc;
         while (aframe.ObjectValid()) {
             if (aframe.constructor.name == "AFrame") {
                                            graphic = aframe.FirstGraphicInFrame;
                 if ( graphic.type == Constants.FO_Inset )
                                                 doc.AddText ( aframe.TextLoc, graphic.InsetFile );
             aframe = aframe.NextGraphicInDoc;
    I assume you will also want to remove the anchored frames (the imported image files) from the text. This can be done in the same routine, but you must first catch the following element in the linked list of graphics in the doc before you can delete the current one. Otherwise you will only remove the first and end up with an invalid object. The easiest and safest method to do this is to create an array of elements to be deleted. After ending the while loop, you delete those objects. The full code looks like this:
    function ListGraphics(doc)
              var toDelete = [];
              var aframe = doc.FirstGraphicInDoc;
         while (aframe.ObjectValid()) {
             if (aframe.constructor.name == "AFrame") {
                                            graphic = aframe.FirstGraphicInFrame;
                                            if ( graphic.type == Constants.FO_Inset ) {
                                                           doc.AddText ( aframe.TextLoc, graphic.InsetFile );
                                                           toDelete.push ( aframe );
           aframe = aframe.NextGraphicInDoc;
              for ( i = 0; i < toDelete.length; i++ ) {
                             toDelete[i].Delete();
    This works on a small test file I created. If you need more support, feel free to contact me: jang at jang dot nl

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

  • After Delete in Linked list...unable to display the linked list

    Hi...i know that there is an implementation of the class Linked Link but i am required to show how the linked list works in this case for my project...please help...
    Yes..I tried to delete some objects in a linked list but after that i am not able to display the objects that were already in the linked list properly and instead it throws an NullPointerException.
    Below shows the relevant coding for deleting and listing the linked list...
    public Node remove(Comparator comparer) throws Exception {
         boolean found = false;
         Node prevnode = head;          //the node before the nextnode
         Node deletedNode = null;     //node deleted...
         //get next node and apply removal criteria
         for(Node nextnode = head.getNextNode(); nextnode != null; nextnode = nextnode.getNextNode()) {
              if(comparer.equals(nextnode)) {
                   found = true;
                   //remove the next node from the list and return it
                   prevnode.setNextNode(nextnode.getNextNode());
                   nextnode.setNextNode(null);
                   deletedNode = nextnode;
                   count = count - 1;
                   break;
         if (found) return deletedNode;
         else throw new Exception ("Not found !!!");
    public Object[] list() {
         //code to gather information into object array
         Node node;
         Object[] nodes = new Object[count];
         node = head.getNextNode();
         for (int i=0; i<count; i++) {
              nodes[i] = node.getInformation();  // this is the line that cause runtime error after deleting...but before deleting, it works without problem.
              node = node.getNextNode();
         return nodes;
    }Please help me in figuring out what went wrong with that line...so far i really can't see any problem with it but it still throws a NullPointerException
    Thanks

    OK -- I've had a cup and my systems are coming back on line...
    The problem looks to be the way that you are handling the pointer to the previous node in your deletion code. Essentially, that is not getting incremented along with the nextNode -- it is always pointing to head. So when you find the node to delete then the line
       prevnode.setNextNode(nextnode.getNextNode());will set the nextNode for head to be null in certain situations (like if you are removing the tail, for instance).
    Then when you try to print out the list, the first call you make is
    node = head.getNextNode();Which has been set to null, so you get an NPE when you try to access the information.
    Nothing like my favorite alkaloid to help things along on a Monday morning...
    - N

  • Problem with Queue and linked list

    Hi... i've got an assignment it start like this.
    You are required to write a complete console program in java includin main() to demonstrate the following:
    Data Structure: Queue, Priority Queue
    Object Involved: Linked-List, PrintJob
    Operations Involved:
    1. insert
    2. remove
    3. reset
    4. search
    Dats all... I've been given this much information... Can any1 try to help me please... How to make a start??? And wat does the print job means???
    Can any1 tell me wat am supposed to do...

    Hi,
    Why don't you start your demo like this?
    import java.io.IOException;
    public class Demo {
         public Demo() {
         public void startDemo() throws IOException {
              do {
                   System.out.println("String Console Demo ");
                   System.out.println("\t" + "1. Queue Demo");
                   System.out.println("\t" + "2. PriorityQueue Demo");
                   System.out.println("\t" + "3. LinkedList Demo");
                   System.out.println("\t" + "4. PrintJob Demo");
                   System.out.println("Please choose one option");
                   choice = (char) System.in.read();
                   showDemo(choice);
              } while (choice < '1' || choice > '4');
         public void showDemo(char ch) {
              switch (ch) {
              case '1':
                   System.out.println("You have chosen Queue Demo ");
                   showOperations();
                   break;
              case '2':
                   System.out.println("You have chosen Priority Queue Demo ");
                   showOperations();
                   break;
              case '3':
                   System.out.println("You have chosen LinkedList Demo ");
                   showOperations();
                   break;
              case '4':
                   System.out.println("You have chosen Print Job Demo ");
                   showOperations();
                   break;
         private void showOperations() {
              System.out.println("Please choose any operations ");
              System.out.println("\t" + "1. Insert ");
              System.out.println("\t" + "2. Remove ");
              System.out.println("\t" + "3. Reset ");
              System.out.println("\t" + "4. search ");
         public static void main(String[] args) throws IOException {
              Demo demo = new Demo();
              demo.startDemo();
         private char choice;
    Write a separate classes for the data structures show the initial elements and call the methods based on the operations then show the result.
    Thanks

  • One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone esle sends me I can't view the images. Thye are all blank white squa

    One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone else sends me) I can't view the images. They are all blank white squares. This started a few weeks ago. Why can't I view Picasa link images through Mail?

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for