Document Size is always shown in BYTES

Hi,
When you show the Document Size of a File Item in a Content Area,
the size is always shown in bytes.
Is there any way to show it in Mbytes or Gbytes?

You can use a custom item type with a procedure that renders the
document size in a different format.
Regards,
Jerry

Similar Messages

  • Problem with document size and images in KM Repository

    Hi,
    We get a problem in KM that when we upload documents example pdf and so we donot get respective document icon and also the document size always shows as 0 Bytes.
    Any suggestions?
    Thanks,
    Manish

    Hi Manish,
    I just uploaded a PDF, 2.8 MB. It appears, /irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/public/mimes/images/pdf.gif appears, 2.8 MB are shown.
    You are using the standard KM "Folder - New - Upload" component? If yes, it's just a bug. If you use your own component, it's a bug too but then on your individual site.
    Here it is tested on EP6 SP2 P4 HF6 / CM6 SP2 P3 HF4.
    Hope it helps
    Detlev

  • Using Scripts to detect document size in inches?

    Is it possible that a script detects the document size in inches not in pixels?
    Thanks for the help!

    The size an Image will print is a simple calulation the numbet of Pixel Wide Devided by the imageg current DPI resolution. And numbet of Pixel High Devided by the imageg current DPI resolution. You can always change the DPI while maintaining the same number of pizels using Image Size with resample NOT checked to change the image's print size. All the information can be retrived in a script and the script can change the image's print size with or without resampling the image.

  • Copy & Paste From Illustrator to Photoshop not matching document size

    I just recently reformated my computer and I've been having an issue with copy and paste from Illustrator to Photoshop. Before I could copy a 2"x2" vector box from Illustrator into photoshop making a new document and the size and resolution would match. That is the new document would say 2"x2" at 300 ppi in photoshop and the preset would read "clipboard". I would then hit ok and paste and it would match perfectly. Now since I've reformated, photoshop always creates a new document with the wrong size regardless of the settings I enter in Illustrator or photoshop. I have document raster and effects set at 300 ppi in Illustrator and I have the new document set at 300 in photoshop, but it always transfers the 2"x2" box as some other size no matter what resolution I change it too. Again this used to work before so I'm assuming there is some setting I forgot about. Does anyone know? The main issue is the clipboard preset is not matching the document size, its almost as if Illustartor is telling photoshop it's a different resolution when it's not. Copying to 72 ppi seems to have no issue, which makes me think Illustrator just isn't sending it out at 300 ppi, but I don't know why as I have the document set at 300 ppi.

    Have you found an answer that wasn't posted here yet? I have the same issue.

  • Changing Resolution and Document size

    Hello - I have a jpeg from a digital camera that I Saved As photo.psd with an original Document Size of 44" x 66" @ 72 ppi resolution.
    I am using CS3 and I want to prepare the photo for printing while maintaining the highest quality possible. The first thing I did was uncheck Resample Image. Then I changed the resolution to 300. This gave me a Document Size of 10.56 x 15.84.
    I want to enlarge the Document Size to 16" x 24" (the same proportions). So, it seems to me that the next step is to now check Resample Image and put in my new Document Size of 16" x 24". I would then apply some Unsharp Mask as desired.
    So, should Ifollow the steps above or do you recommend a different workflow?
    I've read that Photoshop will upres very well up to 200% and all I need is 166%, so it should work ok. Also, do you recommend standard Bicubic or Bicubic Smoother?
    TIA

    What you're suggesting will work, though you don't really need to do it in multiple steps.  One step, with resampling checked, once you set all the fields as you want, will do the trick.
    And for all the hype and mystery surrounding the two alternate choices for resampling, in all my work for minor resampling I always find I prefer Photoshop's original Bicubic method.  For extreme upsampling I prefer, personally, a plug-in called Genuine Fractals.
    Also, modern print drivers are getting very good at size matching...  If the image quality in your file is to your liking, you COULD just set the print size in inches (without resampling) and be done with it.  This would yield an image at a resolution lower than 300 pixels/inch, but would save you some work, and it may very well be that you will not be able to see any difference by letting the driver do the resampling as needed.
    -Noel

  • *** DUMP FILE SIZE IS LIMITED TO 0 BYTES ***

    I always get a trace file with
    *** DUMP FILE SIZE IS LIMITED TO 0 BYTES ***

    Do you have a cleardown script on your dump directory (probably user dump) that deletes dumps while sessions are still running. You get a trace in background dump directory (pmon, I think) that gives your message when that happens.
    OTOH it might be something completely different.

  • My document size changes each time i close it

    my document size change each time i close it. how can i lock in one size?

    Hi K,
    I never noticed that before. Mine only changes by a few bytes, unless I add a lot to the Word doc. I don't believe you can "lock it in."

  • Changing the document size Attribute

    Is it possible to change the document size Attribute to read in Kilobytes or MegaBytes, not just in bytes?
    Thanks,

    Could you provide an example procedure to display the document size? We also want to display the item size in MBytes within a content area.
    Thanks

  • Hello ! how to change document sizes and use our own size (not A3, A2 ...) thank you !

    hello ! how to change document sizes and use our own size (not A3, A2 ...) thank you !

    Experiment. No harm in trying.
    If you are just starting to use Pages you need to make your own assessment given current events whether committing your work to a format and software given this support is a wise move.
    You also need to look at what will produce workable results. Particularly if your large posters are to be commercially printed and contain large bitmap (photographic) images.
    Always work backwards from your output. Ask your printer what they require to do their job.
    Peter

  • Document size performance considerations

    We are trying to determine the performance implications of different approaches to document storage with BDB. Most of the XML we need to store will contain anywhere between 5000 to 20000 nodes at about 6MB per XML block. Best practices or document size analysis/data breakdown isn't a topic that is well explained on the docs websites. We are working primarily in a single-threaded environment.
    1. Does performance degrade considerably when BDB containers hold documents upwards of 500MB? 2GB? or should documents generally be small? (Assuming Node type storage)
    2. Does anyone know of or have any best practices for data breakdown and storage within BDB?
    And completely unrelated:
    3. Are Environments completely portable when fully moved to different systems?
    Many thanks.

    Hi Taka,
    1. Does performance degrade considerably when BDB
    containers hold documents upwards of 500MB? 2GB? or
    should documents generally be small? (Assuming Node
    type storage)Documents being written need to be parsed (larger docs take longer), inserted into the database and the appropriate indices updated (the more indices, the longer it takes). I think that the best thing to do is to build a prototype of your application, populate a database and benchmark the performance.
    3. Are Environments completely portable when fully moved to different systems?There are two issues with copying or moving databases: database page log sequence numbers (LSNs), and database file identification strings.
    Because database pages contain references to the database environment log records (LSNs), databases cannot be copied or moved from one transactional database environment to another without first clearing the LSNs. Note that this is not a concern for non-transactional database environments and applications, and can be ignored if the database is not being used transactionally. Specifically, databases created and written non-transactionally (for example, as part of a bulk load procedure), can be copied or moved into a transactional database environment without resetting the LSNs. The database's LSNs may be reset in one of three ways: the application can call the DB_ENV->lsn_reset method to reset the LSNs in place, or a system administrator can reset the LSNs in place using the -r option to the db_load utility, or by dumping and reloading the database (using the db_dump and db_load utilities).
    Because system file identification information (for example, filenames, device and inode numbers, volume and file IDs, and so on) are not necessarily unique or maintained across system reboots, each Berkeley DB database file contains a unique 20-byte file identification bytestring. When multiple processes or threads open the same database file in Berkeley DB, it is this bytestring that is used to ensure the same underlying pages are updated in the database environment cache, no matter which Berkeley DB handle is used for the operation.
    The database file identification string is not a concern when moving databases, and databases may be moved or renamed without resetting the identification string. However, when copying a database, you must ensure there are never two databases with the same file identification bytestring in the same cache at the same time. Copying databases is further complicated because Berkeley DB caches do not discard cached database pages when database handles are closed. Cached pages are only discarded when the database is removed by calling the DB_ENV->remove or DB->remove methods.
    Bogdan Coman

  • Get empty document size information?

    Hi,
    I need to identify the empty tif files(that is the file which have no data(empty document size)) using scripting. Kindly advise me how to get the information using scripting.
    Thanks for looking into this.

    // select files;
    if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog ("please select files", '*.jpg;*.tif;*.pdf;*.psd', true)}
    else {var theFiles = File.openDialog ("please select files", getFiles, true)};
    if (theFiles.length > 0) {
              var theArray = new Array;
              for (var m = 0; m < theFiles.length; m++) {
                        theArray.push(theFiles[m].name+" is "+theFiles[m].length+" bytes")
              alert (theArray.join("\n"))
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
        if (theFile.name.match(/\.(jpg|tif|psd|pdf|)$/i)) {
            return true

  • Cropping and Post-Document Size

    Hi,
    I need to crop my images at 500x500 pixels for a project. I do a Save For Web & Devices and use JPEG, optimize at 80%. When I open up the new JPEG file, the pixel size says 500x500, but the document size says 6.944x6.944 inches at 72 resoultion, instead of 5x5 inches at 100 resolution. I've been doing the same process for months and it was correct in pixel and document size until recently, but I haven't changed any settings or my process. Does anyone know why this is happening?
    Thank you,
    Jennifer

    Thanks, that all makes sense. I'm just curious though, why would Photoshop display the document size differently, one as 5"x5" at 100ppi (files I did months ago) and then recently it seems to have just decided that it wanted to display the document size at the 6.944"x6.944" at 72ppi? We've always done a "Save for Web" and not "Save As." Other than that, thank you for your responses, I understand.

  • Document size in quick look

    Hi Community,
    I installed a new Mac running Snow Leopard and now I have a small document size in quick look. I can change the size by drag and drop the lower right corner but a) the next document is in the same small size and b) when I reopen a document in quick look I adjusted the size before, it will be displayed also in the small size again. In other words the quick look doesn't remember the custom size setting.
    Is there anywhere in the system a way to change the settings of quick look?
    Thx & Bye Tom

    Yes, I have the same issue, text is tiny on my large screen when previewing word or other text documents. The implementation of Quicklook for text could be improved. For images it obviously works great but for text, I would define a "quick look" as a quick scan of the contents, not just the layout, because its text. When you are editing HTML or looking at CVs a lot, you end up needing to read a little to see what the item actually is, as a lot of layouts are the same for these type of documents.

  • How to change Default document size for CC Library Graphics (InDesign)

    Good morning --
    I have just discovered the amazing uses of the CC Library setup in InDesign and would love to be able to use it as a tool to collaborate template galleries amongst coworkers.
    I work in an industry that offers many different templates for our Marketing pieces available to the sales team. What we have in place right now is about 50+ different templates in their own packaged files. Now, this isn't all that difficult to maneuver around, but the CC Library has made it so I can "drag and drop" templates into place. This drag & drop feature is easy enough for me to grasp, and with the proper training it should be with the rest of the team (should being the keyword). However, in some cases if you double-click on Library graphic it opens the file in it's own editable file with a custom document size of 8.5x11 Portrait (which I imagine to be the internal InDesign preset).
    My questions therefore are when I double click on the library "Graphics" can the document size be anything other than 8.5x11? Can each Graphic have it's own document preset?
    - If I open a file that is set for landscape, all of the "Graphic" falls off of the spread.
    - Some "eblasts" are much longer than 8.5x11 (sometimes as much as 8.5x20), thus knocking some of the "Graphics" into that weird space area.
    Please let me know if I am not being a clear enough.
    Thank you!
    Steve

    @Steve – you are totally clear what you are doing and what you like to do.
    But I fear an automatic setting that is creating the page size according to an asset's size does not exist right now.
    I can change the size of a new document beforehand, if no document is open and create a new size in the document's properties dialog with the keyboard shortcut alt + cmd + p (in my German InDesign on Mac OSX 10.7.5). But you have to know in advance what size that should be.
    Example: If I chose A3 instead of A4 (my default) when no document is open and double click an asset in a CC Library the asset will be placed in a one page document sized A3.
    1. Changing the size (no document is open) in my German UI of InDesign CC-2014.2:
    2. Double click and the result is according to the settings I made:
    Uwe

  • How to find out the Pixel Dimensions and Document Size of placed images?

    Is it possible to find out the placed image details like Pixel Dimensions(Width,Height) Document Size(Width,Height) in illustrator through scripting. Kindly advice me with some examples.

    http://www.adobeforums.com/webx/.3bbaa316.59b84fd8
    I hope the snippet therein will get you started.
    But after all, when you place an image via pi=layer.placedItems.add() it should pop in with its default dimensions, so that you have pi.height and pi.width ready.
    Is this what you are aiming at?

Maybe you are looking for

  • Barcode doesn't show up

    Post Author: Andreas Hausjell CA Forum: .NET I'm using Crystal Reports X (Sp6) and Visual Studio 2005 C# I have got a very simple report with a barcode and following problems: 1. The printer I'm using is a Zebra PAX 110 which has got some internal ba

  • Marketing calendar

    Hi all, i have 2 problem with the marketing calendar in PCUI. 1) If I were to click on the Marketing Calendar tab, I am not able to see anything except for My Favorites in the Show dropdown menu. But if I create a campaign, and then click on the Go T

  • Front window drops back

    I have several windows open. After about five seconds, the front, active window stops being active, so there are no active windows. I can make any window active by clicking on it, but after five seconds it, too, goes in active. What's going on?

  • Aero Snap, snapped

    Hi there. My problem is: I have something that I can't figure out what it is that makes all my windows behavior like Aero Snap. That is, if I drag any window to the top or both sides of the screen they resize according to Aero Snap-like behavior. Thi

  • Doubt on update

    I have 3 tables. Those are shops, salepoint and storagepoint. Salepoint and storagepoint both the tables contain doorNumber and village. Based on the salepoint’s doorNumber and village I have selected the record for update. The following is the query