Limit file type and size in Solution Manager

Dear gurus,
I'm writing an inquiry about the possibility of specifying file extension type and the size the user can upload to solution manager, for example in roadmap / configuration.
I.e, we need to limit the user not to upload *.avi extension type, and limiting the size to 5MB.
Thanks for help.
Regards,

Hi Bobby,
Once you insert a file extension in table SADOCGENERIC,  after that, all documents with this file extension will be open and
should be editable out-of-place with no edit restrictions. You'll just need to have a way to edit it in your computer.
Kind regards, Fabricius

Similar Messages

  • Saving multiple file types and sizes

    I design logos using Illustrator. After the design is approved I need to save it in multiple different file types and sizes. (ie. Jpg Hi, Med, Lo; tif; eps; pdf)
    Does anyone know of a script that can do this?
    Thanks,
    Mark

    I don't know of an existing script that does exactly this. You could make one though. Saving an Illustrator document to both 'eps' and 'pdf' formats is very straight forward once you know which options you want. Personally I would use Photoshop to create the required 'jpegs' Illustrator does not export to any given resolution only scaling at 72dpi… Open either the 'eps' or 'pdf' in Photoshop resize and save 3 times.

  • Webdynpro to limit MIME types and size

    Hi,
    I need to write an web dynpro application to limite the file type and size using IWDFileUpload API, does anyone has some suggestion ?
    Thanks a lot.
    Kind regards
    Ben.J.

    Hi Ben,
    I think you can restrict the file type and and also check the file size before uploading the file. You need to write the logic to check out the file type.
    Use the following code to check restrict the file upload of only txt file...
              IPrivateTestView.ITestElement pf =
                   wdContext.nodeTest().currentTestElement();
              IWDMessageManager mgr = wdComponentAPI.getMessageManager();
              if (pf.getFileResource().getResourceType().getFileExtension() != null
                   && pf
                        .getPatchResource()
                        .getResourceType()
                        .getFileExtension()
                        .equalsIgnoreCase(
                        "txt")) {
    // Check if file size is in valid range.. call getFileSize()
    mgr.reportSuccess("File can be uploaded");
              } else {
                   mgr.reportException("Kindly upload ont TXT files", false);
    And use following code for calculating File Size:
         private String getFileSize(IWDResource resource) {
              InputStream stream = null;
              DecimalFormat myFormatter = new DecimalFormat("###.##");
              double size = 0;
              String unit = "";
              try {
                   stream = resource.read(false);
                   size = stream.available();
                   if (size < 1024) {
                        unit = " Bytes";
                   } else if (size < 1048576) {
                        size = size / 1024;
                        unit = " KB";
                   } else if (size < 1073741824) {
                        size = size / 1024 / 1024;
                        unit = " MB";
              } catch (IOException e) {
                   wdComponentAPI.getMessageManager().reportException(
                        e.getLocalizedMessage(),
                        true);
              } finally {
                   if (stream != null) {
                        try {
                             stream.close();
                        } catch (IOException e) {
                             wdComponentAPI.getMessageManager().reportException(
                                  e.getLocalizedMessage(),
                                  true);
              return myFormatter.format(size) + unit;
              //@@end
    This way you can restrict the users. As far as I know there is no standard way of restricting the same
    Hope it helps
    Regards
    Abhinav

  • Limit File Type and file size in attachment table.

    Dear All,
    I want to limit file type like .jpg,.mpgv files while ataching files in attachment table in oracle apps. Also want to limit file size.
    Please help.
    Thanks

    Refer below link regd implementing file upload:
    File Upload
    We can get file type using
    DataObject fileUploadData =
    (DataObject)pageContext.getNamedDataObject("fileInput2");
    //here OAFileUploadBean is "fileInput2"
    String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    Based on this file type write your login in processFormRequest.
    Will let you know if I find anything about size also.
    -Anand

  • File Type and Size for Video iPod

    I have the latest ipod that does it all, but I am a little concerned about the lack of control on the file type size. I can export a mp4 file with my own settings so it isn't such a large file but it won't load or play. I can convert the file but it makes it the standard file size which is larger than I want it to be. Isn't there a way to save my own settings and still have it play video?
    Thanks for any info from anyone.

    I want to save a higher and better compression and not such high quality settings as the ipod standards settings are.
    You can't.
    http://www.apple.com/quicktime/tutorials/creatingvideo.html
    Video formats supported:
    H.264 video up to 768 Kbps, 320 x 240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 KHz, stereo audio in .m4v, .mp4 and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 480 x 480, 30 frames per sec., Simple Profile with AAC-LC up to 160 Kbps, 48 KHz, stereo audio in .m4v, .mp4 and .mov file formats

  • How to filter the file type and size when uploadind files into APEX

    Hi,
    I was wondering how I can do to validate the size of a file, before moving it to my table ? I'd like to filter the file type, but for this one, I think I can use regular expressions in a validation process.
    I don't know if there is a way to read the file size even before sending it into the temporary file table.
    Thank you
    Leinad

    Hello Leinad,
    AFAIK, you have to create an APEX validation (PL/SQL returns Boolean or Returns error text), which will query the file details from apex_flow_files table. Here you can get filetype and size etc.
    So just validate and if any validation fails, then delete the file from apex_flow_files and riase error message.
    Regards,
    Hari
    P.S. Please note that, if there are other apex validations on your page and if they fail, still apex will load the file into apex_flow_files table. So it's good idea to create a validation (PL/SQL) which will fire (condition) when inline validation errors occured. Make sure that this is the LAST validation on your page in sequence. And here you can write code to delete the file from apex_flow_files table.
    Edited by: Hari_639 on Sep 20, 2012 10:09 PM

  • Best file type and size for logo?

    I should know this but I am going to ask anyway. I am have a local graphic artist create a new logo for me. It needs to be keyed in my show opening, segues, and close. The program is shot and edited in 720p but sometimes 1080p. The larger the better for scaling down? I am always lost when it come to this topic.
    Thanks in advance.
    Cheers.
    Tom

    As Russ said, it is better to scale down than up.
    Let me add this: if possible, the original file for the logo should use vectorial graphics. This way it won't have a fixed size, and can resized without any loss of quality. This should not be a problem if, for example, the logo is created in Illustrator (formats like eps, pdf, svg can contain vector data). Vector files are also usually smaller in size, although that is probably not a bi consideration here.
    Then you can make rasterized versions at different sizes, as needed. You'll probably use a png file in the video, as png supports alpha channel (transparency).

  • XI 3.0 and BW 3.5 system type/logical component in Solution Manager

    We are in the process of performing an upgrade for ERP 2004, XI 3.0 and BW 3.5. Initially this is being done in the sandpits. All systems are configured and connected our Solution Manager to download the packages.
    We are unable to determine what type of system the XI 3.0 and BW 3.5 should be configured under. For example, previously we had an issue where ERP was configured as ECC 5.0 rather than ERP 2004. This was causing an issue in MOPZ where the upgrade option wasn't visible in a maintenance transaction. The same issue is now happening for XI and BW.
    Please advise on the system type (logical component to use) for XI 3.0 and BW 3.5 in Solution Manager as SAP have made it very confusing. Currently both are under type Netweaver 04.
    Regards,
    -Rohan

    Hi
    I believe that SAP hasn't upgrade option for BW 3.5, Check link:
    https://service.sap.com/solman-mopz
    Upgrade
    a "straight" upgrade for SAP Business Suite (upgrade from SAP ERP 2004 to SAP ERP 6.0, for example) is not supported by Maintenance Optimizer
    Upgrade with an Installation of an Enhancement Package is supported for SAP ERP, SAP SCM, SAP SRM and SAP CRM
    Regards
    William Neira

  • Dreamweaver setting wrong file type and creator codes

    First of all, I'm running Mac OS X 10.5.2 on an Intel-based
    Mac, with Dreamweaver CS3 9.0 build 3481.
    I have a site defined where I connect to my web server via
    FTP. On my server, I just upgraded my forum software to PHPBB 3.0,
    which created a new /forums/ directory. My plan is to use
    Dreamweaver to download that new /forums/ directory to my local
    site where I can edit the files. Inside the forums folder are
    several types of files, like ".php" files, ".htm" files, ".gif"
    files, etc.
    So, upon downloading the /forums/ folder to my local machine
    by dragging and dropping it (in Dreamweaver) from the remote site
    to the local site, I noticed that Dreamweaver insists on setting
    HFS file type and creator codes for files it recognizes, based on
    the filename extension.
    I've connected to the same server using the Finder and
    Transmit, and copied the remote /forums/ folder over to my local
    machine. Neither of those copies have files with file types and
    creator codes set, meaning they aren't actually set on the remote
    files and that this is indeed something Dreamweaver is doing on the
    fly as it downloads the files.
    I'm wondering if there's any way possible to disable this
    behavior, and just download the files like they are on the server?
    (File extension only). To make matters worse, on my Intel-based
    Mac, it's not even setting the proper codes, as you can see in the
    following image:
    http://homepage.mac.com/mdouma46/images/dreamweaver.png
    Notice for the ".php" document, it's attempting to set a file
    type of 'TEXT' and a creator code of 'DmWr' (DreamWeaver's creator
    code), but because the Dreamweaver developers didn't bother to take
    into account the byte-ordering differences between PowerPC Macs and
    Intel Macs, the codes are written in reverse: 'TEXT' becomes
    'TXET', and 'DmWr' becomes 'rWmD'. (If you're going to use
    low-level routines such as FSSetCatalogInfo() to set the file types
    and creator codes, you need to call CFSwapInt32HostToBig() on the
    OSType values before doing so, to make sure they're in Big-endian
    format).
    Anyone know where the conversion information is stored?
    Thanks in advance.....

    Creator codes are totally deprecated in snow leopard. as for a workaround you can use something like this.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on open these_items
    repeat with this_item in these_items
    tell application "Finder"
    set the_file to POSIX path of (this_item as alias)
    tell application "System Events"
    set default application of file (the_file) to ("Main HD:Applications:Preview.app" as alias)
    end tell
    end tell
    end repeat
    end open</pre>
    save it as an application and drop files onto it to set them to open with Preview.

  • Show columns for song "Type" and "Size" in v8 list view?

    I often sort songs and audio files by either type (mp3 / aif / AAC), or size (how many MB.)
    I can't find how to reveal these columns in v8 -- in 7 i would use command-J to reveal the "view options" dialog, then simply check the boxes to display "type" and "size"
    The new View Options dialog only has a few options for columns.
    Where did they go?
    Thanks.

    Try right clicking at the top of any column and choosing from the list that appears. If you what to display the file format/type (MP3, AAV etc.)choose "Kind".

  • Limit File type attachments  in I-Supplier portal

    Hello:
    We are on Release 12.1.3 in I-Supplier Portal.
    We want to limit the supplier to only attach PDF and DOCX documents in the system.
    How do we do this ?
    Yesh
    PS: In recruitment, there is a lookup value called IRC_ALLOWED_FILE_TYPES that lets us define
    the allowed file types. But I could not find anything for Procurement.
    Yesh

    Hi
    Has anybody knows how to limit file type attachments in I-Supplier Portal.
    We do not want the suppliers to be uploading jpeg, mp3 files .....
    Yesh

  • TYPE and SIZE, 2 more columns to the variable in the Command behavior?

    DW 8.02 added 2 more columns to the variable in the Command
    behavior, TYPE and SIZE. What do you put in here?
    What is the difference for Access text, Date/Time, number and
    Memo columns.
    The Dreamweaver DOCS don't cover this update and you can't OK
    the COMMAND without these two columns

    This will be of some help:
    http://www.w3schools.com/ado/ado_datatypes.asp
    You should be able to gather the column size from the
    database's table
    definition. Typically, columns that hold text are one byte
    per character
    (two for Unicode), whereas integers are 4 bytes. Other
    numeric types and
    date types vary among database systems.
    "lovewebdev" <[email protected]> wrote in
    message
    news:ec0it5$h20$[email protected]..
    > DW 8.02 added 2 more columns to the variable in the
    Command behavior, TYPE
    > and
    > SIZE. What do you put in here?
    > What is the difference for Access text, Date/Time,
    number and Memo
    > columns.
    >
    > The Dreamweaver DOCS don't cover this update and you
    can't OK the COMMAND
    > without these two columns
    >

  • Set default font type and size in formcreated using Acrobat X Pro

    I have a word document that I used Acrobat X Pro to create a PDF and then a Form.  The Form has over 200 text fields.  Is there a way to globally set the font type and size to one type, for instance Arial 10 so that when someone opens the Form and fills it in, the global font type and size is preset         

    Are you talking about fields that you create manually or field created with the Form Wizard? Exactly what version of Acrobat are you using? What OS?
    In any case, using a script is a quick and easy approach:
    for (var i = 0; i < numFields; i++) {
        var fName = getNthFieldName(i);
        var f = getField(fName);
        if (f.type === "text") {
            f.textFont = font.Times;
            f.textSize = 9;
            // Other properties go here
    I use this type of thing all the time to quickly alter a form. Such a script isn't added anywhere, just executed (e.g., JavaScript console). Over time a developer can build up a collection of utility scripts that can do all sorts of things to dramatically speed up development. It would be bad if this option were not available.
    If there is a bug, it should certainly be addressed, so don't think I'm arguing against that, but I'm not seeing it on any of my systems. I can successfully set the default field properties by selecting "Use Current Properties as New Defaults". The Form Wizard does not use these defaults, but that's a different matter.

  • Portlet image type and size

    Hi
    Are there any particular iamge types and size required for portlet banner, header,
    footer, etc...?
    Thanks a lots

    No. It all depends on what type of images your browser can render and
    the real-estate you have on the browser.
    Subbu
    david wrote:
    Hi
    Are there any particular iamge types and size required for portlet banner, header,
    footer, etc...?
    Thanks a lots

  • HT5409 I asked if AVCHD files can be played on Mac and the support site says to simply click on the icon and quick time will play it. A big lie. Just say it won't support the file type and tell us what apps to get.

    I asked if AVCHD files can be played on Mac and the support site says to simply click on the icon and quick time will play it. A big lie. Just say it won't support the file type and tell us what apps to get. anybody?

    I also had issues opening AVCHD files on case-sensitive filesystems.
    You can try these steps to solve the issue:
    Right click on the AVCHD file and select 'Show Package Contents'
    Right click on the BDMV file and select 'Show Package Contents'
    Rename index.bdm to INDEX.BDM (it seems that all files in the BDMV folder should be in UPPERCASE for Quicktime to open the AVCHD file).
    Go back twice and try again to double-click on the AVCHD file (Quicktime should open a window showing the multiple clips, as expected).

Maybe you are looking for

  • Cast to a literal (ex. "java.math.BigDecimal")

    I have an array with 2 columns like: "java.math.BigDecimal", "2" "java.lang.String", "Test 01" "java.math.BigDecimal","120" "java.math.BigDecimal","148" "java.lang.String", "Test 02" Is there way to cast the second string to the correct object type,

  • Script to change Volume for TimeMachine?

    Hello, could anyone help me with a script that changes the volume for use with Time Machine? My parents are using their laptops about half the time at home with a Time Capsule. The other half, they stay at the office, equipped with a second Time Caps

  • FORMS 4.5 : Migration to 6i

    What is the easiest way to migrate a form (4.5) to a 6i. There are meny migration tools , but there are too expensive(I dont see any trial). Does Oracle have a migration tool????. null

  • My "go to in point" and "go to out point" keyboard shortcuts are not working, and the default keys arnt either? any help would be amazing!

    my "go to in point" and "go to out point" keyboard shortcuts are not working, and the default keys aren't either? any help would be amazing!  I use these keys a million times a hour and since I have switched to cc I cant get them to work. track selec

  • Servlet EJB Context Passing

              Hi,           I get User Details in a Servlet which parses a certificate and gets the details. Now, I am trying to pass in these details to some stateless session & entity ejb's. I don't want to pass them as parameters as then I have to do