Folders inside a community

Hi All,
Is there any way to get the folders count inside a community using EDK?
waiting for ur responses.....
regards
Anant

We just started experience disappearing files. Running Server 10.4.11 (build 8S169). It happens with Autocad files when running Autocad on Parallels. I've been having flaky permission problems on the server, so I am thinking it's time for a (sigh) re-install of the server software.

Similar Messages

  • Put folders inside folders in iOS 7.1?

    Before I start, I'll just say that I have an iPad fourth generation.
    In the versions of iOS 7 before the recent 7.1, you were able to put folders inside folders on the home screen. I was wondering if there was a new way to do this.
    Maybe it was removed because it was a bug or glitch, but I am one of those type of people that like to have a ton of folders and have folders inside of folders because is my way of being organized. I really want to have the ability to do this again because it was one of my favorite things about iOS 7. After the update to version 7.1 I was happy about most other things about the update, but the fact that I couldn't put folders in folders anymore wasn't a particularly good improvement for me.

    I know I found it very annoying but hopefully they can have another update really soon so we can put a folder in another folder. Or hopefully the bug or glitch comes back :)

  • UnZipping an archive with folders inside

    Hello, everyone.
    A friend of mine asked me to create him an "auto-downloader" type of program, to download a ZIP archive, then extract the information to the user's computer (no, it is not harmful).
    Anyways, I've been trying mutliple ways, and I've come pretty far with the one I'm currently using. The only problem is, I'm using user.home as the file location for the zip, and creating a folder in there seems to just not want to work. This is the only way I could think of doing it, but I'm sure there are easier ways.. here's what I'm using:
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    import javax.swing.JFrame;
    import javax.swing.JProgressBar;
    public class Updater extends Thread {
         private String name;
         public void get(String url, String fileName) {
              name = fileName;
              JFrame frame = new JFrame(name.replaceAll(".zip", "") + " update");
              frame.setLocationRelativeTo(null);
              frame.setLayout(new BorderLayout());
              frame.setPreferredSize(new Dimension(500, 80));
              frame.setResizable(false);
              frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
              Client client = new Client();
              ClassLoader cl = getClass().getClassLoader();
              try {
                   URLConnection connection = (new URL(url)).openConnection();
                   String f[] = url.split("/");
                   File file = new File(f[f.length - 1]);
                   int length = connection.getContentLength();
                   InputStream instream = connection.getInputStream();
                   try {
                        new File(updatedDirectory()).mkdir();
                   } catch (Exception e) {
                        e.printStackTrace();
                   FileOutputStream outstream = new FileOutputStream(updatedDirectory() + file);
                   int size = 0;
                   int copy = 0;
                   JProgressBar bar = new JProgressBar();
                   bar.setStringPainted(true);
                   bar.setMaximum(length);
                   frame.add(bar, "Center");
                   frame.pack();
                   frame.setVisible(true);
                   while ((copy = instream.read()) != -1) {
                        outstream.write(copy);
                        size++;
                        int percentage = (int) (((double) size / (double) length) * 100D);
                        bar.setValue(size);
                        bar.setString("Updating your " + name.replaceAll(".zip", "") + " - " + percentage + "% complete");
                   if (length != size) {
                        instream.close();
                        outstream.close();
                   } else {
                        instream.close();
                        outstream.close();
                        unzip();
                        //System.exit(0);
                        frame.setVisible(false);
              } catch (Exception e) {
                   System.err.println("Error connecting to update server.");
                   e.printStackTrace();
         private void unzip() {
              try {
                   System.out.println(updatedDirectory() + "animations\\raw");
                   InputStream in = new BufferedInputStream(new FileInputStream(updatedDirectory() + name));
                   ZipInputStream zin = new ZipInputStream(in);
                   ZipEntry e;
                   //new File(updatedDirectory() + name.replaceAll(".zip", "")).mkdir();
                   if (!new File(updatedDirectory() + "animations\\raw").exists()) {
                        if (new File(updatedDirectory() + "animations\\raw").mkdir()) {
                             System.out.println("worked");
                        } else {
                             System.out.println("nope");
                   while ((e = zin.getNextEntry()) != null) {
                        unzip(zin, updatedDirectory() + e.getName());
                   zin.close();
              } catch (Exception e) {
                   e.printStackTrace();
         private void unzip(ZipInputStream zin, String s) throws IOException {
              FileOutputStream out = new FileOutputStream(s);
              byte[] b = new byte[1024];
              int len = 0;
              while ((len = zin.read(b)) != -1) {
                   out.write(b, 0, len);
              out.close();
         public final String updatedDirectory() {
              //File file = new File(System.getProperty("user.home") + "\\info\\");
              File file = new File("..\\");
              if (file.exists() || file.mkdir()) {
                   //return System.getProperty("user.home") + "\\info\\";
                   return "..\\";
              return null;
    }Here's the ZIP archive I'm trying to download: http://www.2shared.com/file/Qu1cSWcl/cache.html
    If what I've said before doesn't make sense (mind you me, it's 4 am and I'm about to crawl into bed), then I'll try to sum it up in a few short words below.
    I'm trying to extract a ZIP archive with folders, every time I do, it stops halfway through and throws an error similar to this:
    invalid cache index specified
    ..\animations\raw
    java.io.FileNotFoundException: ..\animations\raw (The system cannot find the pat
    h specified)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
            at Updater.unzip(Updater.java:99)
            at Updater.unzip(Updater.java:90)
            at Updater.get(Updater.java:64)
            at Client.main(Client.java:2548)
    Press any key to continue . . .I'm just trying to be able to extract cache (ZIP ARCHIVE) which has folders inside. I've tried creating a directory for the folder, but it seems to not work, hence the "?" in the above error (i printed that if the directory failed to create a new directory, as seen in my above code). Once again, sorry if this isn't as understandable as it should be, I'm not myself without sleep :)
    Also, do ignore the first print, 'invalid cache index specified', it's not related to the problem.
    Edited by: aeternaly on Jul 2, 2010 4:04 AM

    So your question is really about how to make a directory, then. Nothing at all to do with unzipping of archives.
    If you can't create a directory, then perhaps there is some permissions problem. You don't have the authority to create directories in some directory. Or perhaps you're trying to use a name which isn't a valid directory name in your system. Or... there are many other possibilities. But anyway I recommend tossing all of that unzipping business out of your program and just trying to write something which creates a directory. Debug that first.

  • Supressing the "Inside this Community" + Subcommunity" + "Related Community" tabs

    I read the discussion thread on "How to hide the page links of a community on the 5.0.2 portal" and I looked at the UI Source code for "NavigationCommSectionDropDownView".
    And I was wondering about which portion of that code should be disabled/altered to completely suppress the "Inside this Community" navigation tab along with the "subcommunity" and "related community" tabs below it.
    We need to create a community that doesn't have any navigation scheme. We will create our own and need to suppress the 'out of the box' navigation scheme.
    Thanks for urhelp.
    Hani

    The community section menu will not show up at all when Removed from a NavType. If you want it to show up for only certain communities you would not change the NavType class but instead add logic into the view's (NavigationCommSectionDropDownView or NavigationCommSectionComboBoxView located in the view folder under the NavType file) Display method to only display the menu for specific communities by checking community IDs. Instead of hardcoding the IDs in the code you could put them in NavigationSettings.xml and get them for there with the NavigationCommonHelpers.GetNavSettingsValueX methods.
    Refer to the UI Customization Guide has more information.

  • Inside this community and page bar

    We are getting some complaints that after the portal page is drawn, the page jumps. What is actually happening is the portlets are drawn on the page prior to the Inside this community area being displayed. When that area is displayed it takes up more room than was initially allocated for the div I guess. That causes the rest of the page to be pushed down. Is there a way to set the size of this div to be as wide as the navigation will be when it finally displays? Is this done with a div? Which view in the api controls this functionality? Any help here would be appreciated. Thanks, Berney

    ah yes! that makes sense!
    The better option then would be to go the CSS route and just not show the image.
    If you look at your source for the page you should see a span tag (navTabText) just before the community icon.
    You can piggyback on that class in this fashion:
    #navTabText img{display:none;}
    if you add that to whatever your css file is that should work.
    I'm not a css person so I might have the syntax off a bit.
    albeit you should test this out because no telling what else might be impacted by such an addition!

  • I have a folder with 10 folders inside it, 8 of the folders will not function when I use "show view options".

    I have a Folder with 10 Folders inside it, 8 of the Folders will not function when I use "show view options", they always default back the default.  The "show view options" works on all my other Folders in my system, even on the first two of the Folder in question.  How can I correct it?  I have tried every thing I can think of, even deleting the Folders & reintalling them.  For some strange reason the "show view options" only does not work on the last 8 Folders in the Folder in question.

    Instead GarageBand recognize my keyboard and i can play normally, also, if it can help, those are the Audio and Midi Logic Preferences and the Controller Surfaces Setup with the keyboard connected :

  • I placed a personal folder in the sidebar of the finder. It had NB folders inside. This sidebar folder accidentally got dragged and went "poof" into a cloud of smoke. I cannot find the folder or it's NB contents anywhere. Help years of work!

    Hi,
    I need your help Please, I fear I might have lost years worth of work. 
    I had created 3 personal folders In my Home folder.
    I then created a new folder called "active folder" and dragged these 3 folders inside, removing them from the Home folder.
    I then dragged my newly created folder "Active Folder" to the Sidebar of the finder.
    When I had closed finder and reopened it - the "active Folder" folder was unable to open.
    A friend tried to help- dragged "active folder" off the sidebar.. and it disappeared with a cloud effect.
    I cant find that folder or its NB contents anywhere,
    Please help me with some advice if you can.
    Not using tiger or Lion.*

    When you created that "active folder," where did you create it?  And after you added it to the sidebar, what did you do with it?  If the data is truly nowhere to be found on your system, even using EasyFind, then I suspect you mistakenly deleted it, thinking that you had copied it to the sidebar.  That would explain why you later found that the "active folder" was unable to open from the sidebar.  The sidebar is just another way to access the original item, and if you deleted the original item, it can't do its job.
    Unfortunately, if this is what you did and you don't have any backups, you may be out of luck.  I don't know what you mean by saying you "did the whole data recovery 1's and 0's," but if you haven't already done so, you should try some dedicated data recovery software, to see if those deleted files may still be on the drive.  See Recovering deleted files.
    Ultimately, this is not a flaw in the Mac system, it is a flaw in your use of it.  I strongly recommend some reading to get up to speed:
    http://www.apple.com/support/mac101/
    http://www.amazon.com/Mac-OS-Lion-For-Dummies/dp/111802205X/
    http://www.reedcorner.net/guides/backups/
    http://www.takecontrolbooks.com/backing-up

  • Folders inside the Videos folder?

    Hi, is there a way to organize my videos inside de Videos folder?
    Folders inside the Video folder?
    Thank you very much.
    Cheers.

    where is my actual catalogue now? my current one i am using. It has to be on that 1TB right?
    Your actual catalog can be located via Lightroom->Catalog Settings->General tab
    No, it does not have to be on the 1TB drive
    I clicked on catalogue settings and clicked 'show' and it pointed to one of the folders inside that backup folder on the 1TB...i thought they were backups?? Where should my catalogue be?
    Your catalog can go anywhere on any attached hard drive (not a networked hard drive) but usually you would put it on the fastest drive available, which would be your internal drive.
    I tried taking the Folder out of the 1TB that is named Backups but then when i open lightroom it says the current catalogue is missing and asks for me to open a new one. So i put it back in the 1TB folder in the same place and opened lightroom went to recent catalogues and chose it, its back and all is intact.
    You are going to have to move the working catalog file out of that folder. Even though you have found what appears to be the working catalog in the Backups folder, that is the working catalog. Move it to somewhere else, outside of the LIghtroom folder, using your operating system, and then double-click on it to open Lightroom.

  • Suddenly, I cannot move photos from iStream directly to individual folders inside iPhoto. Any cure?

    Suddenly, I cannot move photos from iStream directly to individual folders, inside iPhoto. Any cure?

    What's "iStream"?
    You can't put photos into Folders in iPhoto. You can put them into Albums or Events.
    So, can you explain the problem you're having?

  • Retrieving list of portlets inside a community page

    Hi all,I am trying to create an administrative portlet that show a tree containing:Community -- Community Page -- Portlets inside each page
    In this portlet I want to show all the communities in the portal, because this will be a portlet only for administrator, to have a clear situation of the portal content. With EDK I was only able to retrieve all the communities with the IObjectManager. So I thought that it were a better solution to realize an intrinsic portlet.But with intrinsic portlet I don't know how to retrieve the list of portlets contained in a particular community page.
    Can you tell me what is the object and method that I have to use?Do you think this kind of portlet is realizeable also with EDK?
    Thank you very much,
    Alberto Marchiaro

    Hi Raed,
    The EDK's PRC doesn't yet have the methods you require. You'll want touse the Plumtree Server API to both query for portlets and add them to the page. The server API requires you install the PTServer.dll on your remote server (you'll already have it if you are developing the portlets on the same box where the portal is deployed).
    Depending on your exact use case, I'd also suggest you consider using portal UI modifications to the mypage to get the modified functionality you want. You can look at the Developer Documentation on how to replace the view for those pages if this is applicable to your use case.
    ross

  • Folders under projects & folders inside folders

    I'm just curious to know what people think of using folders/ they appear to be flexible.
    Does a folder under a project function exactly the same way as an album under a project?  
    Also, can you put a folder of projects inside of another folder without any problems?

    Thank all of for the earnest advice!  I may be a bit further along with this than I seemed.
    I just took my entire library and reordered it, with everything moved to projects, deleting all albums, (I did not realize before that they are kind of secondary to where I'm at right now, organization-wise)
    The projects also now reside in folders, which are just there to refer to what's inside of them.  I suppose I may reorder this by the year one day, but for now am happy with big broad categories and then inserting albums to projects during future use.
    Anyway, there are some questions I had along the way.  I'm only going to post the ones that seem like they might be easy to resolve... hardest question first:
    What is the best approach for putting the same image from one project, into several (or into albums, too), without completely confusing myself down the line?
    (I'm talking editable master or just a virtual "copy") I'm concerned that I won't be able to easily ID what's a master and what's a copy at first glance, and will have to start digging.
    Is it possible for Aperture to lose track of a master file location if I go in and start changing file names within the Aperture app?
    What the heck does this message mean? (and should I accept it?):
    "Reprocessing photos allows you to take advantage of Aperture's new adjustments and imaging technology. You cannot undo his action."
    Does anyone recommend "Vault" as opposed to, or in combination with, an old fashioned hard drive backup? (I use the latter)

  • Folders inside a share are randomly disappearing

    Hello,
    I am having a strange problem with folders randomly disappearing off my server share. Here is my current setup:
    XServe running 10.4 connected to 3.5 TB Raid Array via Fiber
    Folder inside RAID shared out for client access via AFP and SMB
    All clients have automount setup in netinfo.
    Clients work fine for about a week, then folders start randomly disappearing. Not files so far, only entire folders. If we try and recreate the folder, it says that the folder already exists, but no one can see it, even if I log in to the server console and access the folders directly on the raid.
    I am not very mac savvy, so I am a bit lost as to what I should do next. This would be easier to diagnose if the whole share would become inaccessible, not just pieces.
    Anyone have any suggestions?

    We just started experience disappearing files. Running Server 10.4.11 (build 8S169). It happens with Autocad files when running Autocad on Parallels. I've been having flaky permission problems on the server, so I am thinking it's time for a (sigh) re-install of the server software.

  • I need the names of the folders inside a folder

    I have this path: '/var/lib/squidguard/db/blacklists/' and inside this folder (blacklists) I have a bunch of other folders, I need their names. How can I get this?
    thanks!

    I used listFiles(), it worked! thanks!You might have done better to use
    public File[] listFiles(FileFilter filter)
    where the filter is defined to just accept folders.
    For example
            File[] childDirectories = parent.listFiles(new FileFilter()
                public boolean accept(File file)
                    return file.isDirectory();
            });

  • Folders inside iPhoto

    Hi friends,
    I have a lot of photos in iPhoto. There are different events, but some of them have common things.
    It's the case of the birthdays. It would be great if we can make folders in iPhoto like we do with the app at iOS.
    So in the folder "Birthdays", you could have the name of the person, and inside this person, different years.
    Could it be possible?
    What do you think about it?
    Is there any way to do it now?
    Best regards!!

    Yes you can do this easily with Albums and folder.
    Folder: Birthdays
    Album Jordi 2011
    Album Jordi 2010
    Etc
    To make an Album simply select  photo from Jordi's Birthday 2011 and go File -> New -> Album. You can add other photos to the Album simply using drag and drop.
    Folders can be created the same way. Drag the albums to the folder
    Regards
    TD

  • Folders inside IPhoto Events

    I was wondering if it was possible to create a folder inside an Event in Iphoto. My reason for doing this is simple. I have one event with a certain name but I don't want all the pictures disorganized in that event, I want to separate them into different folders (or mini-events) withing the event

    No, you can't. Events are time-based units only, with no ability to form hierarchical structures. You can select the Event and crate a Folder from it, then divide the Folder into Albums. Folders can contain other Folders or Albums; photos must be contained in Albums. These all appear in the Source Pane (left column) of iPhoto and are a different organizational system from the Events. As for the Event in question, you must choose whether you want to keep it as one or divide it into multiple Events.
    BTW, if you have Events you have iPhoto 7, and would be better off posting in the iPhoto '08 forum (iPhoto v7 = iPhoto '08). Yes, that is confusing.
    Regards.

Maybe you are looking for