Limit number of loans

Hi
I have a returnable loan with maximum 3. A client downloads 3 differents acsm files (Makes 3 clicks on my button to download) and, after, he open they width ADE.  Now he has three identical copies and there is no freedom for the rest. Yes we are bugging.
How i can avoid it? We can tell to ACS that a user can only have a maximum of 3 books on loan?
Ty

The loan limit number is the number of simultaenous users that can have the file loaned out.   By default the user can read the content on any device that that they have activated (limited roughly to 6 computers and 6 devices).   If this is not what you desire, you can limit the user to the single device that they first download the content on, by adding a <device/> element into the permissions.
ACS4 provides no way to provide more than a single device, but less than all the devices the user has activated.

Similar Messages

  • To limit number of chracters in textarea.

    hello all,
    please find below a small program to demonstrate how to limit number of charcaters in a textarea.
    i searchedthe forum and i actually got the technique from the forum. but when i put together a sa program it does not work.
    could anyone point out what is the problem in the small piece of code below.
    i am working on jdk 1.2.1
    thanx to all.
    // Example illustrating Limiting number of characters in text area.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class try1 extends JApplet {
    Container contentPane;
    JLabel label;
    JTA1 textarea;
    public void init() {
    // Get the handle on the applet's content pane.
         contentPane = this.getContentPane();
    // Create a text field and add a key listener to it.
         textarea = new JTA1(25);           // of 25 char width
    // Create a button object and register an action listener
         Button button = new Button("Clear");
         button.addActionListener(new ButtonListener());
    // Create a label with the titled border.
         label = new JLabel("Key Typed: NiL");
         label.setBorder(BorderFactory.createTitledBorder
    ("You pressed the Following Key"));
    // Add the text field and button to the applet's content pane.
         contentPane.setLayout(new BorderLayout());
         contentPane.add("North", textarea);
         contentPane.add(label);
         contentPane.add("South", button);
    // Get focus on text field.Note: You can do this only after you add the text field to the container
    class ButtonListener implements ActionListener {     // Create the button listener class.
         public void actionPerformed(ActionEvent e)      {
    // Reset the text components
         textarea.setText("");
    //Return the focus to the text field.
    class JTA1 extends JTextArea
         private int limit;
         public JTA1 ( int limit )
              this.limit = limit;
              addKeyListener( new LimitListener() );     
         class LimitListener extends KeyAdapter
              public void keyPressed( KeyEvent ke )
                   if( getText().trim().length() >= limit )
                   {     ke.consume(); //just consume KeyEvent

    Don't cross post. This question has been answered in your other post.

  • Limit Number of Rows on a Page

    Hi all,
    I am unable to succeed with the following.
    I have an XML data source which looks like this:
    <?xml version="1.0"?>
    <LIST_GEMPLOYEES>
    <LIST_G_EMPLOYEE>
    <EMPLOYEE_NUMBER>1</EMPLOYEE_NUMBER>
    <EMPLOYEE_NAME>Employee 1</EMPLOYEE_NAME>
    </LIST_G_EMPLOYEE>
    <LIST_G_EMPLOYEE>
    <EMPLOYEE_NUMBER>2</EMPLOYEE_NUMBER>
    <EMPLOYEE_NAME>Employee 2</EMPLOYEE_NAME>
    </LIST_G_EMPLOYEE>
    <!-- many rows here (LIST_G_EMPLOYEE tags) -->
    </LIST_GEMPLOYEES>
    And I want to define a template which only allows 5 rows on a page.
    What I did:
    I should insert a page break after the limit number of rows on a page is reached. This means that, after each group of 5 rows, a page break should be inserted.
    To accomplish this goal, I followed these steps:
    1. Define a field which will contain and initialize the Counter variable before the table which will show the list of employees, by using the syntax:
    Field1: <?xdoxslt:set_variable($_XDOCTX, ’Counter’, 0)?>
    2. Define the table which list all employees in the data source:
    2.1. Use a 2 columns table. In the first column, define 2 fields as follows:
    2.2. In the second column, define 6 fields containing the following code:
    Field2: <?for-each: LIST_G_EMPLOYEE?>
    Field3: <?EMPLOYEE_NUMBER?>
    Field4: <?xdoxslt:set_variable($_XDOCTX, ’Counter’, xdoxslt: get_variable($_XDOCTX, ’Counter’) + 1)?>
    Field5: <?EMPLOYEE_NAME?>
    Field6: <?if: xdoxslt:get_variable($_XDOCTX, ’Counter’) mod 5=0?>
    Field7: <?split-by-page-break:?>
    Field8: <?end if?>
    Field9: <?end for-each?>
    Here is explanation for syntax I used:
    Field1: Declare and init Counter variable to value = 0
    Field2: This fetches through all employees - start a for-each cycle
    Field3: This prints the employee number
    Field4: This increments the Counter variable
    Field5: This prints the employee name
    Field6: This tests whether Counter variable is divided by 5
    Field7: This generates a page break
    Field8: End of condition
    Field9: End of for-each cycle
    Result:
    The first page has just the header and the second page has the header and only record and it goes the same
    for the rest of the pages. Any help is greatly appreciated.
    Thanks.

    Have a look at this post
    http://winrichman.blogspot.com/2008/09/limit-row-per-page.html

  • How to limit number of logins per day?

    We have a custom web application (WebAS 6.20) used by people and automated systems. Each user has his own login, and some of these automated systems sometimes produce heavy load because they log into system too often.
    Is there an easy way to:
    1) limit number of logins to, say, 1000 per day and when this limit is reached - do not allow this user to login till midnight
    OR
    2) dedicate one of the processes to the specific user
    thanks in advance

    extend PlainDocument class to restrict the number of characters per line.
    Set this class as model to TextArea.
    Below is a class which does this. May be its useful
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    public class FixedNumericDocument extends PlainDocument {
    private int maxLength = 9999;
    private String max="";
    public FixedNumericDocument(int maxLength) {
    super();
    this.maxLength = maxLength;
    //this is where we'll control all input to our document.
    //If the text that is being entered passes our criteria, then we'll just call
    //super.insertString(...)
    public void insertString(int offset, String str, AttributeSet attr)
    throws BadLocationException {
    if (getLength() + str.length() > maxLength) {
    return;
    else {
    try {
    //check if str is numeric only
    int value = Integer.parseInt(str);
    //if we get here then str contains only numbers
    //chk if it is less than 65535 so that it can be inserted
    super.insertString(offset, str, attr);
    catch(NumberFormatException exp) {
    return;
    return;

  • Limit number of concurrent connection

    is there a way for me to limit the number of concurrent
    connections to the media server. my upload bandwitdh is about a meg
    so having too many connections just kills the whole thing. i would
    like to put a limit at 5 connections. is there a way to do
    this?

    well i am only using flash media server to displaying videos
    and just that. the reason i went with media server vs. progressive
    was fullscreen method. since flash doesn't natively support
    fullscreen you have to open another browser in fullscreen with
    javascript. the problem with that is it start loading from
    beginning so i decided to go server that way it only has to buffer
    and get to the same point without having to load the whole video up
    to that point. Now i want to limit number people that can be
    watching the video. if i get more that 5 connection the whole thing
    slows down. i am not too familiar with server based connections so
    i don't know how to limit the number concurrent connections.

  • Limit number for new field

    Hello there
    Anybody know what is the limit number for new field in each record type?
    My client wants me to create about 200 new fields in Account record type.
    Is it possible to do so?

    Hi, You can refer this
    https://secure-ausomxdsa.crmondemand.com/docs/1.10.0.1080.0.00/enu/help/CustomFieldHelp.html
    -- Venky CRMIT

  • Limit number of recipients send out external once

    Hi all,
    I have Exchange server 2013 CU7, I want to limit number of recipients when my users send email to external/internet.
    For example:
    If my users send email to more than 50 external recipients once, they will receive error "bla bla"
    Limitation is not apply when my users send email to internal recipients"
    or external sender send email to internal recipients
    How can I do it ? (which send connector , receive connector , transport config , transport service , transport server)
    Thank for your help.
    Jack

    Hi Jack,
    Thank you for your question.
    I agree with Bruce.
    I am sorry that we could not meet your requirement that the limit of recipient is just for external/Internet.
    When we configure those setting, it will be worked for all recipient(including internal or external). It was referred by the following link:
    https://technet.microsoft.com/en-us/library/bb310760%28v=exchg.141%29.aspx
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • Limit number of subfolders

    Hi Experts,
    Is there a way to limit number of subfolders created on a InfoView folder?
    We want out application to limit external admin users not to create more than 3 level of subfolders in InfoView Folder.
    Please advice
    Thanks!
    Prasath

    Not from within InfoView or the CMC.  You would have to write your own InfoView replacement that would handle this limitation.
    -Dell

  • How to limit number of mail messages on iPhone with iOS7?

    Is there a way to limit the number of inbox email messages showing?  On iOS6, it was in Settings under Mail but this option is not there on iOS7  Is it hiding somewhere else?  If this isn't an option at all, are there any suggestions on a work around?  Without it, a lot of memory is being wasted.  Thanks!

    No, this is no longer an option.
    You can let Apple know about your displeasure (as many have) by leaving them feedback here:  www.apple.com/feedback http://www.apple.com/feedback

  • How to limit number of sessions for an Application

    Hi,
    I have an ASO application running on Essbase 7.1.5 version.
    This Essbase cube is widely used by the BO ( business objects ) Web I services for retrieving data in there Dash Boards.
    No I want to restrict number of sessions on this application. We have SERVERTHREADS through which we can set limit on application wise.
    SERVERTHREADS [application] 20;
    When I set this in the Essbase config file on this server and bounce the Essbase services. Will this really help me in limiting the session till 20 for this application . I see we can set minimum 20 and maximum 500 using server threads.
    What will happen to the session which excceds 20. will they be kept in queue ?.
    Pls let me know if this work. Else pls suggest me the best one.
    Some information for you – in the Essbase ->properties->statistics-> I see Ports Available are 65531
    Thanks
    MS

    HI,
    1. SERVERTHREADS does not contain/limit the count of sessions one can have .
    2. Count of ports will help you decide what is the default SERVERTHREAD count , in your case its 20.
    3. the count 20 signifies the number of threads which a transaction can use ( here threads are nothing by the operating system level threads, to do with the processes and processor).
    4. If you have multiple transactions and you want to improve the performance of them ( in case of slow response or so). You can increase the thread count , to make more threads work for your transactions. Again , this does not limit the count of sessions .
    5. I did not understand the obejctive behind limiting the sessions and avoiding users from accessing . I think , this defeats the whole purpose of having cubes then. You have many cubes ,and huge number of users who pull data and essbase and its kernel are capable of handling this . If you still want to restrcit, might as well set their security ( by letting them not to access cubes).
    Hope this adds value
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • How to limit number of rows(pagination) in the bam report?

    Is there anyway i can limit the number of rows in a report in BAM 10.1.3.4 ?

    In BAM 11g
    There is a property ElementsCountLimit which is configurd in BAMServerConfig.xml
    The number of change lists that are cached before rewriting the cache file.
    The default value is 50. When the 51st change list is received, it is cached by replacing the 1st change list.
    Default: 50

  • Spry Data Set - Possible to limit number of records show

    Hi,
    I am totally new to Spry in Dreamweaver.  I tried searching the forums for an answer but I could not find anything on how to limit the number of records shown.
    For example - I have 100 rows of information in my table.  When I do the Spry Data Set and use the Master/Detail page I only want 20 records to show.  Otherwise the page looks very long and odd.  Is it possible to just show the first 20 records and the ability to scroll or link the next 20 and so on?
    If you have a link to a tutorial or more information that would be greatly appreciated.
    Thank you,
    Kathy

    have a look here http://labs.adobe.com/technologies/spry/samples/data_region/SpryPagedViewSample.html

  • How to limit number of chars in a CFGRIDCOLUMN

    Hi,
    I have a 2 column grid populated from a query. The grid is
    editable and will be submitted to an action page for database
    Delete, Insert, or Update. The first grid column corresponds to a
    MS SQL database column that is defined as varchar(3).
    Currently, if the user inputs 4 characters and submits, I get
    a SQL trunc error.
    There has to be a way to limit the number of characters in
    this cfgridcolumn to 3? How is it done?

    Well, you could check the number of characters on your action
    page, and bounce them back if it exceeds the maximum number, and
    you can "protect" the database by including a limiting function on
    the data in the insert statement, like LEFT(col, 3) so that
    regardless what they specify, you will only insert the first 3 into
    the database. You really should let them know if they entered too
    many, however.
    Phil

  • How do I limit number of characters in a JTextField?(different from others)

    Hi,
    I know this question has been posted several times on this forum, but my question is actually a different one. So please read.
    I have the following code that puts two JTextFields in a JFrame. I want to limit the number of characters in the first JTextField to three characters. What's different about my question from other solutions provided, is that I don't want to be able to type more than three characters in the JTextField, and then not be able to get out of JTextField unless I have three or less characters. What I do want, is to have maximum of three characters, not be able to type the fourth, and have access to the other JTextField at all times.
    I have tried the following solution of setting an InputVerifier to my JTextField, but it hasn't worked, since I can still type the fourth character.
    Looking forward to your help!
    Thanks.
    import java.awt.Dimension;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import javax.swing.InputVerifier;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class TextFieldVerifier {
         public TextFieldVerifier()
              JFrame frame = new JFrame("My TextVerifier");
              JPanel panel = new JPanel();
              JLabel firstTextFieldLabel = new JLabel("First: ");
              JLabel secondTextFieldLabel = new JLabel("Second: ");
              final JTextField myTextField = new JTextField();
              myTextField.setPreferredSize(new Dimension(100,20));
              myTextField.setInputVerifier(new InputVerifier()
                   public boolean verify(JComponent input) {
                        if(myTextField.getText().length()<=3)
                             return true;
                        else
                            return false;     
              myTextField.addKeyListener(new KeyAdapter()
                   public void keyTyped(KeyEvent e)
                        if(!myTextField.getInputVerifier().verify(myTextField))
                             myTextField.setText(myTextField.getText().substring(0, myTextField.getText().length()-1));
              JTextField secondTextField = new JTextField();
              secondTextField.setPreferredSize(new Dimension(100,20));
              panel.add(firstTextFieldLabel);
              panel.add(myTextField);
              panel.add(secondTextFieldLabel);
              panel.add(secondTextField);
              frame.getContentPane().add(panel);
              frame.setSize(new Dimension(200,100));
              frame.setVisible(true);
         public static void main (String [] args)
              TextFieldVerifier v = new TextFieldVerifier();
    }

    Thanks, JayDS! Your suggestion worked. And I've come up with the following code with help of your suggestion. However, I'm not happy with the fact that I see empty spaces in my JFormattedTextField when I don't have anything entered in it, or when my textfield has focus and I click it again. Also, I'd like the text alignment to always stay on the right, even if I have less than 3 digits.
    Could you please help me out with that?
    Thanks!
    import java.awt.Dimension;
    import java.text.ParseException;
    import javax.swing.JFormattedTextField;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import javax.swing.text.MaskFormatter;
    public class TextFieldVerifier {
         public TextFieldVerifier()
              JFrame frame = new JFrame("My TextVerifier");
              JPanel panel = new JPanel();
              JLabel firstTextFieldLabel = new JLabel("First: ");
              JLabel secondTextFieldLabel = new JLabel("Second: ");
              try{
                   VariableLengthMaskFormatter formatter = new VariableLengthMaskFormatter("###");
                   final JFormattedTextField myTextField = new JFormattedTextField(formatter);
                   myTextField.setHorizontalAlignment(JTextField.RIGHT);
                   myTextField.setPreferredSize(new Dimension(100,20));
                   panel.add(firstTextFieldLabel);
                   panel.add(myTextField);
              } catch (ParseException ex) {
                   ex.printStackTrace();
              JTextField secondTextField = new JTextField();
              secondTextField.setPreferredSize(new Dimension(100,20));
              panel.add(secondTextFieldLabel);
              panel.add(secondTextField);
              frame.getContentPane().add(panel);
              frame.setSize(new Dimension(200,100));
              frame.setVisible(true);
         protected MaskFormatter createFormatter(String s) {
             MaskFormatter formatter = null;
             try {
                  formatter = new MaskFormatter(s);
             } catch (java.text.ParseException exc) {
                 System.err.println("formatter is bad: " + exc.getMessage());
                 System.exit(-1);
             return formatter;
         public static void main (String [] args)
              TextFieldVerifier v = new TextFieldVerifier();
    }Edited by: programmer_girl on Mar 10, 2008 11:10 PM

  • DB Adapter : How to limit number parent records in select query.

    Hi All,
    I am querying a master-detail tables from a database.
    I want to limit the number of parent records to 15.
    Ex: Resources is parent table. It has two child tables "Skills" & "PersonalDetails".
    Resources table has 1 to many relationship with above tables.
    When i use rownum <= 15 in the where clause i am seeing different results each time.
    Sample query is as below.
    select distict t0.resourceName , t1.skillName , t2.location
    from .table_names
    where .....join between tables..
    and rownum <= 15
    Note : I selected the checkbox "Use outer joins to return a single result set for both master and detail tables" in DBAdapter wizard.
    Let me know if i am missing anything important.
    Thanks,
    Sid.

    Hi,
    You can set the "Max Rows" at the DBAdapter wizard ("Advanced Options" step).
    Regards,
    Daniel

Maybe you are looking for

  • Replacing marker text for sevral markers in one shot.

    I can't change marker text (such as an index entry) by using the Find/Change dialog box. If FrameMaker finds the marker text I specify, and if I type different text in the Change text box and click Change, FrameMaker replaces the marker--not the mark

  • Hp officejet pro 8500 wireless

    hi, i have hp officejet pro 8500 wireless installed in my laptop and i want to install it in my new laptop but i lost my cd installer, how can i have a driver for this?

  • Cover flow missing

    I have installed itunes on my laptop but there is no cover flow option, none at all, just the old style version of viewing, I have downloaded latest version

  • How to save one data point at every 10th cycle?

    Hello, I am using LabVIEW 5.1 and PCI-6023E. In my application, I need to detect peak values from a load cell and save the one data point that detected at every 10th cycle. Do you know any ideal way to do this? Mine always save data values the whole

  • Transfer maiboxes "on my mac" to a new Mac

    Hi all, Is there an easy way to transfer mailboxes stored under the tab "on my Mac" in Apple Mail to a new Mac? Thank you Message was edited by: Pim Versteeg