IFS/CMSDK - How to set READINDICATIONENABLED Extended Attribute to TRUE?

iFS/CMSDK - How do I set READINDICATIONENABLED Extended Attribute to TRUE for PrimaryUserProfile?
I have a requirement to provide a list of all users who have read a specified document. I would like like this attribute to be automatically set for every user when created. Thus, when a user has viewed a particular document a entry will be automatically place in the ODMZ_READ_INDICATION view/table.

Please repost this question in the iFS forum, http://forums.oracle.com/forums/forum.jsp?forum=152

Similar Messages

  • How to set a extended attribute as read-only in runtime

    Hi Team,
    I would like to set a extended attribute as read-only in runtime based in a condition.
    I tried with "Criterion" in a extended model definition, but if the condition is false the content field disappear.
    Best regards

    Hi Bruno,
    About the first part of your problem : User with permission and user without permission.
    To meet your needs I would have defined a Group named "WithPermission" and associated this group to a Member (user) "A"
    While other users would not have been associated with this group.
    When an user login I would have checked what groups that are associated with. If the group "WithPermission" was found I would have allowed the current login user to write "My Example". If the current login user was not associated to group name "WithPermission". The user would not have been able to edit the field.
    I did a search in the metamodel object and I found nothing Method. Following my reading it seems that it is not possible. Read below.
    In Sybase Guide "Customizing and Extending PowerDesigner" - CHAPTER 7: Scripting PowerDesigner you can read the following :
    Manipulating the Repository By Script
    PowerDesigner lets you access the Repository feature via scripting using the RepositoryConnection as BaseObject global property.
    It allows you to retrieve the current repository connection, which is the object that manages the connection to the repository server and provides access to documents and objects stored under the repository.
    The RepositoryConnection is equivalent to the root node in the Repository browser.
    You can access the repository documents, but you cannot access the repository administration objects, like users, groups, configurations, branches, and list of locks. In addition, only the last version of a repository document is accessible using scripting.
    As described by Dirk I think the only thing you can do is to make a check on a specific username. Unfortunately it will be "hard coded" in your program. Or If you can by vb script access the repository tables. You could resolve your problem by checking Group permission associated to each users logged in..

  • How to set the DFF Attribute Programmatically?

    hi
    how to set the DFF Attribute Programmatically in Process Request of CO
    thanx

    Hi
    Do u want to set the value in DFF Programmatically ?
    u can capture the VO used for DFF and set the the value in controller.
    Thanks

  • How to Set / change the attribute of Business Object

    Hi all,
    Say I have a Z Business Object -> ZBO
    Inside the BO, I have an attribute -> ZA1
    And one method -> ZM1
    Is there any way in which  i can set / update the attribute ZA1 (for any particular instance) outside the Business Object (I mean without writing any code in the program of the Business object)?
    Thanks,
    Deb

    >
    Debidutta Mohanty wrote:
    > But Inside the class -> Can be assigned or changed -> Using Method -> Correct ?
    >
    > That means, inside the Business Object aslo, we can have one method to assign or change attribute. Is there any Macro to change the attribute ?
    Yes.
    BOR attribuites are a piece of code. You can see this by hilighting an attribute and clicking on the "Program" button. That code returns the attribute value, usually something from a DB table, something calculated, or a private attribute.
    To change what the attribute returns, you need to change the underlying data. How you do it depends on what your attribute code does in first place. This is why we can't give you an exact answer. If your attribute retrieves a value from a table entry then you need to change the table entry. If it is a calculated value then you need to change the data used in the calculation to make your attribute return something else. If it returns a private attribute value then you need to update this via a method.

  • How to Set Basic compression attribute through Oracle ILM

    Hi,
    I have log a SR with Oracle with regard to this but they redirect to this forum.
    We have configured Oracle ILM in our environment. We have a requirement that after 3 years the data to be moved to a Low Cost Storage. We tested the same through Oracle ILM and it works fine for the above scenario.
    We have another requirement that after moved to Low Cost Storage Tier through Oracle ILM we also want to compress the data.
    When we set the compressed attribute through Oracle ILM it alwasy generated the script
    like the one below
    alter table test_user.range_part
    move partition year4
    tablespace part3
    compress for all operations -----------------Oracle Advanced Compression--------------
    update indexes;
    But we want some thing like below through Oracle ILM
    alter table test_user.range_part
    move partition year4
    tablespace part3
    compress -------------------Basic Compression----------------
    update indexes;
    Can you please help us how to set the Basic compression attribute through Oracle ILM.
    Thanks and Regards
    Ganesan Sivaraman

    Oracle support referred you here?
    Please post the SR number here or send it to me by email for follow-up (damorgan12c (at) gmail.com).
    Thank you.

  • How to set SubmitButtonBean's attribute in Java

    I want create
    <submitButton name="Buttom's name" ctrl:event="push"/>
    in Java:
    SubmitButtonBean button = new SubmitButtonBean("Buttom's name");
    and I need set attribute "ctrl:event". I tried this:
    oracle.cabo.ui.AttributeKey event = AttributeKey.getAttributeKey("ctrl:event");
    button.setAttributeValue(event,"push");
    No event when I click button.
    Could you help me, how I can do this? Maybe I must use javascript to run uix event, is it possible?

    as an example&lt;submitButton formName="testForm" event="submitPage" text="Submit" /&gt;in the event handlers &lt;handlers&gt;
        &lt;event name="submitPage" &gt;
          &lt;method class="com.test.EventHandler" method="handleControlSubmitEvent" /&gt;
        &lt;!-- Add EventHandlers (&lt;event&gt; elements) here  --&gt;
        &lt;/event&gt;
      &lt;/handlers&gt;in the EventHandler.java u should be able to get the event name with this
    public static EventResult handleControlSubmitEvent( BajaContext context,
                                                     Page page,
                                                     PageEvent event ) {
        String eventName = event.getName();
    }regards,
    raj.

  • How to set "Image Map" attribute to "Polygon" via javascript in Illustrator CS5

    Ok, so I have this little script I've written that I want to use to go through a bunch of paths in a document and give each path a url for use in an image map. I want each link to be a Polygon because, well, let's face it, "Rectangle" is useless 99% of the time. Obviously, the way you would do this manually would be to open the Attributes panel and set the Image Map attribute to Polygon and type a URL in the URL field. Fine. Easy enough. However, when scripting the process, it seems one can only set the URL (or the uRL [sic] as documented in the javascript reference) of the PathItem. In other words:
    pathItem.uRL = "http://someurlfor.me";
    Unfortunately, this defaults the "Image Map" attribute to "Rectangle" (which we already know is useless 99% of the time.) SO, anyone out there know how to change that attribute to "Polygon?"
    Btw, I'm on Illustrator CS5 and have been using this reference:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/illustrator/scrip ting/illustrator_scripting_reference_javascript_cs5.pdf
    Thanks,
    -Matt

    We found that with the following setting, the problem is almost solved :
    theme.setQueryWindowMultiplier(1);
    theme.enableAutoWholeImage(true);
    We still have a problem : a portion of the base map appears black most of the time, on Blackberry only (Opera Mini) ... like 1/5 of the map ... the right side ... any idea ?
    Thanks,
    JP

  • How to set a new attribute in th Servlet Context from an external app.

    Hi,
    I need to do an external application that can access to the servlet context to recover/modify some attributes. Anybody know how can I do it?.
    I've revised some mBeans thinking that they can serve me the servlet context, but I have not viewed anything related.
    Best Regards
    Antonio

    I'd say your best bet is adding another servlet and mapping to your application that presents a REST interface to this information. You could return application-scope data in a small XML document, and you could send attribute names and values with request parameters.
    It's not practical to dynamically change the actual init-params of the servlet context.

  • How to set No Selection Attribute in List of Values?

    Hi Everyone,
    I'm developing an ADF form which has a List of Value(LOV) as a requirement.
    I've got it working based on a View Object. However, I'm trying to set the No Selection option in the LOV and it doesnt seem to work. I've set it to the "Labelled Item - First of List" - <Please select a reason>. That doesnt seem to do the trick.
    Is there another attribute I need to set?
    I'm using JDev 11g.
    Many thanks.
    PP.

    if you are using the af:selectonechoice then use it like
    unselectedLabel="Please Select"but its better to debug why you are not getting this done from the VO.. can u give more information on this to solve it in the model itself..
    did u check if the VO is updated properly with the changes???

  • HOW to set the value attribute of FORM INPUT data to a variable in a JSP

    eg. Registration.jsp
    The data is accessed from an hidden field called course
    for example, if I have "Java programming" in the field course, and I use
    an expression to access the value from the hidden field.
    **My problem is that the data gets truncated to "Java" , I need "Java Programming"to display. The code looks like this
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <INPUT TYPE="text" SIZE=12 NAME="course"
    VALUE=<%=getParameter("course") %>
    IS there ANY OTHER WAY to set the value of VALUE to a variable?

    Instead of value=<%=request.getParameter("course")%>
    Use double codes
    value="<%=request.getParameter("course")%>"

  • JDev 10.1.2: How to set a Date attribute through a list (UIX)?

    Hello everyone, I need help with this:
    I have a UIX page to input data for a new record. One attribute is a Date and I need to drag and drop it as a MessageList (Select One) into the page. But I can't do this cause the only options I see are Column, MessageDateField and LOV Table.
    I already have the view object to provide the values for the List.
    Thank you very much in advance.

    repost

  • [Help plz]Can't set a boolean attribute to true or false

    Hello,
    I'm new in NWDS development. I need to develop a download functionality
    I used a FileDownload UIElement for that and I created a node context (ExcelExport) with 3 attributes :
    - ExcelFile
    - ExcelIcon
    - And ExcelEnabled (Boolean type)
    My problem is that everytime I try to set the attribute ExcelEnabled to true or false, it return me a java.lang.NullPointerException
    I'm binding this attribute with "Enabled" property of the UIElement.
    Have anyone got this error before? Thanks a lot for your help.
    Kind regards,
    Safae.

    Hello Safae,
    Have you tried to put true/false value for the enabled property? I mean without using a context attribute?
    Also try to create the attribute out of the node.
    Regards,
    ImaneA.

  • How to set browser.tabs.closeWindowWithLastTab value=true programmatically

    my application must be closed through close button on my webapplication which is not opened in any popup window.

    Check this out, you can manipulate tabs with this SDK for add ons [https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/tabs]
    Or toolkit api FUEL [https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Toolkit_API/FUEL/fuelIBrowserTab]
    I think you can also accomplish this with javascript, but the best guide for this would be the developers on stackoverflow.com

  • Using extended attributes

    Hi Folks,
    I'm new to sun idm and i need to add some new attributes to user object.
    what i have done is updating the idm schema configuration. But what to do next?
    I'm really going insane, read hundreds of pages about forms views and workflows but
    this does not help for me, argh!
    The goal is to be able to enter the values for these new attributes when a user is created.
    So i want to adjust anonymous enrollment and user creation by admin...
    Can someone point out the steps to go on?
    some advice would really be appreciated

    not sure where you extended attribute went; maybe iFS created a DOCUMENT2 class for you by default. anyway, in order to do this the right way:
    first, you need to properly extend the document class, creating a new content class with your extended attributes. for example, create the class ARIDOCUMENT that extends DOCUMENT and adds the TITLE attribute. (look at the developer docs or the sample code to see how to do this. there's a complete example on creating and modifying subclasses in the CMS installation at: 9ifs\samplecode\oracle\ifs\examples\devdoc\subclassing)
    once you do that, in order to create a new document with your custom fields, you need to perform the following steps: create a new document definition, set the standard attributes, apply your custom doctype, and then set the extended attributes. here's a quick snippet:
    // create docdef...
    DocumentDefinition def = new DocumentDefinition(session);
    // set standard attributes...
    def.setAttribute(Document.NAME_ATTRIBUTE, AttributeValue.newAttributeValue("File.txt"));
    def.setAttribute(Document.DESCRIPTION_ATTRIBUTE, AttributeValue.newAttributeValue("A text file."));
    // look up and apply your custom doctype
    ClassObject co = session.getClassObjectByName("ARIDOCUMENT");
    def.setClassObject(co);
    // set extended attributes. note: you can't use the 'Document.' prefix,
    // because TITLE is not a DOCUMENT attr!
    def.setAttribute("TITLE", AttributeValue.newAttributeValue("My Title"));
    // create the aridoc...
    Document aridoc = (Document) session.createPublicObject(def);
    in a nutshell, that's how you do it...
    hope that helps,
    .rich

  • Display non extended attribute in a Custom Report

    Hi,
    Is it possible to query external attributes (that are not set as extended attributes) in a user report ?
    I read in this forum that reports are just meant to query IDM repository, is it still true ?
    Thanks,
    Ben

    Hello Sandra,
    Thanks for your reply, but eventhen it fails to load the pdf. Is ADS required to be installed for this?
    Can I just pass the pdf_fsize imported from  CONVERT_OTF which is of type i.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE    
    bin_file              = pdfxstring
        TABLES
          OTF                   = L_JOB_OUTPUT_INFO-OTFDATA
          LINES                 = LT_PDF
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
      CALL METHOD G_HTML_CONTROL->LOAD_DATA(
         EXPORTING
           TYPE         = 'application' "'text' " 'application'
           SUBTYPE      = 'pdf' "'html'  "'pdf'
           size           = PDF_FSIZE
         IMPORTING
           ASSIGNED_URL         = lv_URL
         CHANGING
           DATA_TABLE           =  LT_DATA "i_html "LT_DATA
         EXCEPTIONS
           DP_INVALID_PARAMETER = 1
           DP_ERROR_GENERAL     = 2
           CNTL_ERROR           = 3
           OTHERS               = 4 ).
    Thanks,
    Jaya.

Maybe you are looking for

  • How do I change my AirPrint settingS?

    How do I change my AirPrint settings - from colour to black and white etc..

  • Best Temperature Monitoring Program?

    Hey all, first time posting in the forums. I recently got a mid-2012 MBP for college, so of course I immediately began putting games like Borderlands and GTA:SA on it. It runs anything I throw at it beautifully, but it gets awfully hot while it does.

  • Broken Reader functionality after getting an Acrobat Form back.

    Hi, we have recently run into the problem that several completed Acrobat Forms with enabled extended Reader features (for saving the form from Reader) came back with the Reader features broken: The main problem lies in the fact that we set some textb

  • Lock work orders from custom transaction

    Hi, I have created a custom tcode that has functionality similar to IW32. I need to implement locking similar to what iw32 implements ( not allowing to open work orders by 2 users at a time.) Please provide me with sample code, how i can implement th

  • Queries Related with OIM 11g

    Hi Experts, I have few basic queries related with OIM 11.1.1.3 1) Can we use GTC connector to export data of users (Newly created users on daily basis) to CSV file? I think No, But just wanted to confirm with you guys. 2) The LdapConfig utils in OIM1