Bulk courses and students via api

Hi all,
We are using Adobe Connect Pro v 7 at our organization. We
have courses that registered users can watch, and connect tracks
whether they watched it or not. Simple enough.
Then we have a web site that uses the api to generate reports
on usage. We typically want to do 2 things:
1-Get a list of all courses either before or after a specific
date
2-Get a list of all courses either before or after a specific
date and a list of all students who took the course and whether
they passed or failed it
I have been unable to figure out an elegant way to do this,
especially part 2. Right now we make a call to sco-info once for
each course to see if it is in before or after the target date, and
then need to call another api to get all the students that took the
course. Since this involves several round trips from our web server
to the breeze server, it is not exactly blazing fast.
Is there a better method for doing this?
We just recently upgraded from v6, so perhaps something in
the new api version can do this? (Though I did not see it in the
online documentation.)
Thank you for your time.

Hi Yemi, Woil,
3 options here;
- Keep retrying to delete via Eloqua GUI to delete all records. If this fails;
- Contact Eloqua support to get them deleted (we did this before for CDO's containing 1M+ records)
- Use a combination of REST and SOAP;
First, get the data cards from the CDO (/data/customObject/<id>?count=XXX)
Use the results to call the SOAP Delete endpoint with the DataCardSet containing the ID's from your previous call.

Similar Messages

  • Using bulk collect and for all to solve a problem

    Hi All
    I have a following problem.
    Please forgive me if its a stupid question :-) im learning.
    1: Data in a staging table xx_staging_table
    2: two Target table t1, t2 where some columns from xx_staging_table are inserted into
    Some of the columns from the staging table data are checked for valid entries and then some columns from that row will be loaded into the two target tables.
    The two target tables use different set of columns from the staging table
    When I had a thousand records there was no problem with a direct insert but it seems we will now have half a million records.
    This has slowed down the process considerably.
    My question is
    Can I use the bulk collect and for all functionality to get specific columns from a staging table, then validate the row using those columns
    and then use a bulk insert to load the data into a specific table.?
    So code would be like
    get_staging_data cursor will have all the columns i need from the staging table
    cursor get_staging_data
    is select * from xx_staging_table (about 500000) records
    Use bulk collect to load about 10000 or so records into a plsql table
    and then do a bulk insert like this
    CREATE TABLE t1 AS SELECT * FROM all_objects WHERE 1 = 2;
    CREATE OR REPLACE PROCEDURE test_proc (p_array_size IN PLS_INTEGER DEFAULT 100)
    IS
    TYPE ARRAY IS TABLE OF all_objects%ROWTYPE;
    l_data ARRAY;
    CURSOR c IS SELECT * FROM all_objects;
    BEGIN
    OPEN c;
    LOOP
    FETCH c BULK COLLECT INTO l_data LIMIT p_array_size;
    FORALL i IN 1..l_data.COUNT
    INSERT INTO t1 VALUES l_data(i);
    EXIT WHEN c%NOTFOUND;
    END LOOP;
    CLOSE c;
    END test_proc;
    In the above example t1 and the cursor have the same number of columns
    In my case the columns in the cursor loop are a small subset of the columns of table t1
    so can i use a forall to load that subset into the table t1? How does that work?
    Thanks
    J

    user7348303 wrote:
    checking if the value is valid and theres also some conditional processing rules ( such as if the value is a certain value no inserts are needed)
    which are a little more complex than I can put in a simpleWell, if the processing is too complex (and conditional) to be done in SQL, then doing that in PL/SQL is justified... but will be slower as you are now introducing an additional layer. Data now needs to travel between the SQL layer and PL/SQL layer. This is slower.
    PL/SQL is inherently serialised - and this also effects performance and scalability. PL/SQL cannot be parallelised by Oracle in an automated fashion. SQL processes can.
    To put in in simple terms. You create PL/SQL procedure Foo that processes SQL cursor and you execute that proc. Oracle cannot run multiple parallel copies of Foo. It perhaps can parallelise that SQL cursor that Foo uses - but not Foo itself.
    However, if Foo is called by the SQL engine it can run in parallel - as the SQL process calling Foo is running in parallel. So if you make Foo a pipeline table function (written in PL/SQL), and you design and code it as a thread-safe/parallel enabled function, it can be callled and used and executed in parallel, by the SQL engine.
    So moving your PL/SQL code into a parallel enabled pipeline function written in PL/SQL, and using that function via parallel SQL, can increase performance over running that same basic PL/SQL processing as a serialised process.
    This is of course assuming that the processing that needs to be done using PL/SQL code, can be designed and coded for parallel processing in this fashion.

  • Re-using Segments Created via API or Re-creating Every Time?

    Hi All,
    Wanted to get your thoughts on this...
    We have been able to create Segments via the API, however, which way to go:
    OPTION 1: Re-use Segment if there are no additions or deletions (changes) to the list? or
    OPTION 2: Re-create the Segment every time via API.
    In Option 1, we will still need to compare the existing list to the new list before deciding to re-use. However, the comparison will be done outside of Eloqua.
    In Option 2, we may create a new list even though there are no changes but we will have the historical data and it will be easier to identify lists.
    In both scenarios, data processing may affect performance.
    For those who have done this or are familiar, what would you recommend?
    Hope it's clear.
    Pinging: TJ Fields-Oracle, 1065474, freejung
    Thanks!!

    In simpler terms of creating assets and storage, creating new segments each time should not be a problem. That said, the asset choosers might end up being slow if you're blowing past 100k which will ultimately result in a poor user experience for the marketers. Please see:
    Eloqua Product Thresholds
    Beyond that, you should also consider:
    - Developers creating a process where segments and campaigns are being created automatically, and the campaigns being left active for a long time with segments are set to run every hour. For static lists, it wouldn't really result in heavy calculating but you can run into delayed contact entry into campaigns if you have hundreds of segments feeding hundreds of campaigns - each with heavy filtering. At best it would be pointless to run segments (on the canvas) hourly if the lists are static, and at worst you're making everything slower. That doesn't sound like a major concern here but something to keep in mind.
    - API tools automatically updating segments which are currently referenced in live campaigns (again, running hourly segments). This means if you re-use assets for new campaigns there is a risk that they're being referenced by a currently live campaign and you end up adding the wrong contacts to the wrong flow. Since segments share a relationship to campaigns as their primary contact feeder, the API tools should only be updating the same segment asset with new contacts if the intent is to add those contacts to an existing campaign.
    - Although keeping shared lists or segments untouched gives you some historical tracking, do not assume the contacts in those assets are exactly the same ones which were used when the campaign was launched. For example, if you delete the bouncebacks and unsubscribes after the campaign has run and go back to your segment, even if it is a simple segment with a local list, it will not contain the deleted contacts. For any serious auditing task, let the API tool archive what contacts were added to what segment. Then you can use Bulk 2.0 activity exports to keep a list of what contacts received what emails from various campaigns.
    Regards,
    Bojan

  • Open saved draft report via API/UI

    How could I open an saved Draft report via API/UI.
    I have draft an report via API/UI and now I would show this report on Desktop/SAP

    Sorry for my mismatched formulation of this problem
    I would open it via code
    z.B. application.forms.items("")
    because I get the Docnum of my before safed draft but It wouldn´t shown at the SAP now so I have to open it via code gg
    but also thx to you

  • In which table the initial balances will be stored when loading via api

    Hi all,
    I am doing initial balances migration...
    In which table the initial balances will be stored when loading though an api.. (pay_balance_upload.process).
    First I have loaded data in to pay_balance_batch_headers and pay_balance_batch_lines tables..
    Then called the api pay_balance_upload.process. and the data was reflecting correctly in front end.
    But we need to reconcile the loaded data.. for that, can anyone please tell me in which the loaded balances would be stored..
    I have identified two tables, pay_assignment_latest_balances
    and pay_latest_balances
    when I try to create a balance from frontend I can see the data in pay_latest_balances table..
    But when I load via api I am not able to find it in any of these tables..
    In addition to that can anyone please tell me when the data will be populated in pay_assignment_latest_balances and pay_latest_balances tables.
    Awaiting for your help and quick response..
    Thanks and Regards
    Kishore

    You have followed the correct process..As Vignesh said, you can use pay_balance_pkg.get_value to make sure you have the correct values uploaded but otherwise if you are able to see the values in the front end I wouldn't worry about the latest balances tables. These tables, as the name indicate, hold only the latest values and if a payroll (ran post the initial balance upload) has been rolled back, these are deleted since they are no longer available.
    You can refer the below Metalink notes for a detailed explanation:
    The Secret Life of Initial Balance Upload with Screenshots Example [ID 60057.1]

  • Accessing the password store (PSTORE) via API

    After having created portal users via API srcipt, we now would like to register users
    for an external application programmatically.
    I.e. we have a portal user and we know his account info ( user / passwd ) for the external application. Portal seems to store account infos for external applications in a "Password Store". So i am looking for an API to register portal users for external applications providing the known acount info,
    i.e. sth. like
    PSTORE.InsertExtAccount( PortalUser, ApplicationName, ExtUser, Extpasswd).
    I had a look at http://www-sso.us.oracle.com/
    but could not find API description or any hints when an API like that will go production.
    Can anyone help me with that issue ?
    Thanks a lot.
    null

    This is probably the wrong forum for this question - I would try the 9iAS Portal forum.

  • Creating worksets via API

    Hi all!
    Is it possible to create and change worksets dynamically via API? I have found documentation how to read pcd objects and their properties but not how to edit pcd objects:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
    best regards
    Michael

    Hi Michael,
    (1) To change workset attributes, get the IPcdContext object for the workset, then do something like this:
    ModificationItem[] mods = new ModificationItem[1];
    mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE,new BasicAttribute("com.sap.portal.navigation.MergePriority", new Double("75")));
    myPcdContext.modifyAttributes("",mods);
    (2) To create, you could simply bind a new context to the folder you want to place the workset, and set all the attributes (most important, object class and name). This is a little tricky, and there may be side effects I haven;t thought of.
    For iView, you would use the IiViews semantic object to create the iView, and this object would take care of almost everything for you. But there is no workset object.
    Hope this helps.
    Daniel

  • Opening User defined Fields Form via API

    Hi
    Is there a posiibility to open those user defined field - forms via API. If yes is it possible to check if it is already open?
    TIA
    Phile

    Hi,
    In your eventhandler, you can use this:
    Set oSboForm = Sbo_application.Forms.GetFormByTypeAndCount(-pval.FormType, pval.FormTypeCount)
    form and udf-form are linked through a minus sign.
    I do not know of a nice way to check if they are anebled. What I'm currently doing is running the above line of code contained in an error handler. The error handler does a sendkeys of control shift u (which enables the udf-form) and displays a message. Problem is after control shift u, screen is not yet updated so your code cannot continue immediatelly. Development knows of this problem, but I never received a promise when this will be fixed.
    Hope this helps,
    Jacques

  • Acccess to HRMS via API's?

    I would like to access the HRMS via API's so that I have my own presentation layer.
    Question:
    1. Is this possible
    2. Where do I find the API ducumentation
    3. Is the any example in either MS VB.Net or C#
    Thanks in advance.
    Regards

    See the following MetaLink collateral:
    Note: 216838.1 - Oracle HRMS Product Family Publicly Callable Business Process APIs (A Reference Consolidation)
    Oracle only supports the APIs listed in the following documentation:
    * The Publicly Callable Business Process APIs topic in the guide Configuring, Reporting and System Administration in Oracle HRMS (Note: 214791.1) and in the help system.
    * The What’s New in Oracle HRMS topic in the help system. This will list any new APIs introduced after the first version of a main Release.
    Best Regards,
    Greg

  • Is it possible add or remove contact from a Shared list via API?

    Hi Eloquan,
    i'm preatty new in Eloqua and i'm wondering if is possible add/remove contact from a Shared list via API...
    any help will be welcomed.
    M.

    Gr8 not a problem why do you use a composite view pattern.
    --->In that case make use of Proper patterns in your design before forwading it to a view.
    ---->Use a Public JSP Statically include JSP's in WEB-INF folder using static page include which happens at compile time.
    REGARDS,
    RaHuL

  • Change application to RUN ONLY via API?

    Is it possible to set an application to be RUN ONLY via the API instead of accessing the Workspace manager? We have an environment that discourages access to the workspace manager in production and try to do as much as possible via SQL Plus..
    Right now when we migrate an application to production, we get a copy of the application from version control, modify the app to a RUN ONLY version and then pass it over to our DBA to load into production. We would prefer to made the RUN ONLY change when the app is loaded into production via SQL Plus and the APEX API...
    Any suggestions?
    Thank you,
    Tony Miller
    Ruckersville, VA

    TexasApexDeveloper wrote:
    So in theory, if you setup an anonymous block with the security and such and tried to update the flows table, you could achieve this, right???
    (I know what I am asking is unsupported, thus the "In Theory" portion of posting, just to be sure no thinks I will violate the terms that we use APEX under)..
    Thank you,
    Tony Miller
    Ruckersville, VATony,
    I understand, In theory it should be ok and here is the full update statement, and valid values for build_status column are RUN_AND_BUILD and RUN_ONLY
      update wwv_flows
      set build_status = 'RUN_ONLY'
      where id = l_id and
            security_group_id = :flow_security_group_id and
            build_status != nvl(l_build_status,'x') and
            build_status is not null;Thanks,
    Vikram

  • Creating an opportunity linked to a contact via API

    Hi,
    We are trying to create opportunity records against a contact but don't understand how to link the 2 objects via API as my development team can't find a direct link when looking in the WSDL.
    I can see in the UI that the primary contact can be stored against the object, would just like to know how to do this via API.
    Thanks for your help in advance.
    Leslie

    Hello Leslie,
    There are a number of ways to accomplish this. As you mentioned in your post there are often Id fields exposed on a parent object that allow one to associate to a record of a different type, in this case you can send a request for the parent object, in this case Contact and specify the ID of an existing Opportunity record.
    You can also use the child object structure to create an association. For example, if you are entering a new Contact and a new Opportunity you can use the <ListOfOpportunity> within a Contact Insert request to also insert a new Opportunity. I have attached a sample SOAP request below.
    I would recommend your team review the WS User Guide as well as the sample code provided at samplecode.oracle.com for further details. Please see the announcements at the top of the forum for additional links.
    I hope this helps.
    Thanks,
    Sean
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <ContactWS_ContactInsert_Input xmlns="urn:crmondemand/ws/contact/10/2004">
    <ListOfContact>
    <Contact>
    <ContactFirstName>Bruce</ContactFirstName>
    <ContactLastName>Wayne</ContactLastName>
    <ListOfOpportunity>
    <Opportunity>
    <OpportunityName>Capture the Joker!</OpportunityName>
    <CloseDate>04/10/2011</CloseDate>
    <Priority>High</Priority>
    <Status>Pending</Status>
    <SalesStage>Selected</SalesStage>
    </Opportunity>
    </ListOfOpportunity>
    </Contact></ListOfContact></ContactWS_ContactInsert_Input></soap:Body></soap:Envelope>

  • Create Roles and Permissions using API

    Hello,
    I'm new to Java and I'm trying to create Roles and Permissions in LiveCycle using API's. Can someone please check and correct my code below?
                //Create a ServiceClientFactory object
                ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
                // Create an AuthorizationManagerServiceClient object
                AuthorizationManagerServiceClient amClient = new AuthorizationManagerServiceClient(myFactory);
                RoleImpl ri = new RoleImpl();
                ri.setName("Test ES Role");
                ri.setDescription("Test Role via API");
                ri.setMutableStatus(true);
                amClient.createRole(ri);
    Executing the above code throws exception as below;
    com.adobe.idp.um.api.UMException| [com.adobe.livecycle.usermanager.client.AuthorizationManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception thrown is NOT a DSCException : UnExpected From DSC chainedException:java.lang.IllegalStateExceptionchainedExceptionMessage:null chainedException trace:java.lang.IllegalStateException
              at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(ServiceClientFactory.j ava:72)
              at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:220)
              at com.adobe.livecycle.usermanager.client.AuthorizationManagerServiceClient.createRole(Autho rizationManagerServiceClient.java:159)
              at com.adobe.lc.ManageRolesAndPermissions.main(ManageRolesAndPermissions.java:70)
    Caused by: java.lang.NoClassDefFoundError: javax.ejb.EJBException
              at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.evaluateMessageDispatcher(ServiceClientF actory.java:595)
              at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:215)
              ... 2 more
    Caused by: java.lang.ClassNotFoundException: javax.ejb.EJBException
    Thank you,
    Sandeep

    Mahesh,
    Refer to your other thread ..
    API to create new items in inventory
    API to create new items in  inventory
    Regards,
    Hussein

  • My computer hard-drive died and I lost the programs I purchased and installed via download.

    My computer hard-drive died and I lost the programs I purchased and installed via download.. Can I somehow re-download what I have already paid for? I am an unemployed student and can in no way afford to buy these programs for A THIRD TIME.
    I absolutely, positively NEED the Adobe Creative Suite in order to do my homework (I'm a web and graphic design student). I can not be without these programs!

    Yes, there are downloads available.  You should check you Adobe account online as there might be links provided there.  Your serial numbers will be needed for activation, and they might also be found there.
    Since you did not identify a particular version here are general links to all available...
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html
    You can also download the trial version of the software thru the page linked below and then use your current serial number to activate it.  Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    http://prodesigntools.com/tag/ddl
    Since you lost the installation(s) without deactivating them first you probably should contact Adobe Support thru chat and ask them to reset your activations so that you have the two available to you in case you want to have a backup installation on another machine.  For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Bulk "lift and stamp" metadata?

    i have a series of pdf's that i would like to bulk attach metadata to. i would like to "copy" (or export) from one pdf which i have entered this data and then bulk "paste" into about 20 or more other pdf's.
    is there a way to do this and if so would someone mind telling me the terminology for this operation either inside or outside of Acrobat software?
    thanks.

    I was hoping someone else would chime in here, but unfortunately metadata never seems to draw much interest.  In the meantime, we lost power for almost a week, and I had to leave on a trip before it came back, resulting in gaps in my memory, both hard-disk and grey matter.  Perhaps you've already found a good way of working.
    Still, since you asked for advice, I'll say I am exceedingly wary of sidecar files: I've lost too many resource forks when moving files between systems, even Mac to Mac (mostly with fonts, but I dimly recall at least one Mac word-processor putting footnotes in the resource fork).  Image files are different, of course, and my knowledge of them is very limited, but if I had my druthers I'd find an image file format that permitted metadata to travel inside the file.
    PDF is such a format, thanks to XMP, but it isn't worry-free.  First, PDF was designed to hold documents rather than just images, adding complications.  And as I mentioned before, the internal file structure is so complex I'm wary of using non-Adobe tools to edit internal details.  Moreover, Acrobat's metadata tools are not as convenient as the corresponding parts of Photoshop, InDesign, and Bridge.  PDF might serve very nicely as the final format for distributing your work, but I'd consider delaying conversion to PDF until late in the processing.
    I've barely experimented with Photoshop Actions, but I expect they could be very useful for manipulating metadata on large numbers of images.  Bridge makes it easier to see what XMP metadata a file contains, and can be scripted to modify it -- and I assume you've been experimenting.  If you want to get down to the bare metal, EXIFTool is amazing; the fact that it runs at the command prompt can be intimidating, but it can chain a whole series of operations on a whole folder of files with great precision (but test carefully, because it is very powerful).
    While I still had access to my main computer, I experimented some more with exporting a sample PDF document's metadata to XMP, editing the latter, and then putting it back.  My sample was a scholarly article, all text (some Chinese), maybe 40 pages in length; it had gone through perhaps three rounds of editing in InDesign before I exported it to a PDF "weighing" 600 KB.  As an initial test, I had Acrobat 9 Pro strip the metadata ("optimizing" with only that setting) and was startled to find the file shrink by half.  Curious, I exported the metadata from the original PDF to XMP, where I noticed that one of the categories was something about history -- not a category listed in the windows behind "Additional Metadata" (though I could see it in the  "raw" view).  The text editor reported that this one category and its sub-branches took up something like 90% of the XMP file.  I carefully cut it out, imported the revised XMP back into the PDF, and the file seemed fine, though no smaller in size; I then "optimized" the file with Acrobat 9 Pro with all optimizations un-checked, to let Acrobat re-adjust the structure, and the size again dropped by half.  I go to this length to illustrate two points: first, XMP files can contain a lot of stuff you don't really want and that cruft may not be readily apparent; and second, to yield a more efficient PDF you may need to optimize it after tweaking the metadata.  In my case, I expect it would be simpler to delete unnecessary metadata in ID (and I plan further experiments once I get back in the office).
    To sum up, you may not get much help on metadata, especially on specific operations, so you just have to try stuff out and see how it works -- as I assume you have.  The Bridge scripting folks seem helpful, so I'd also look over there.
    Good luck,
    David

Maybe you are looking for

  • How do I move my iTunes library (palylists and history) from PC to Mac?

    I want to move my iTunes library (playlists and history - not just the files) from my Windows PC to a new Apple Mac. I have an external hard drive and I have moved all the song files over to the MAC. How do I load up the library with playlists and hi

  • Crypto failure when upgrading Windows 8.1 Pro install to Windows 10 Tech Preview 10041

    Has anybody experienced the following error when trying to upgrade a Windows 8.1 Pro install to Windows 10 Tech Preview 10041 crypto_self_test_failed The system reboots twice both times with the same error and then reverts back to Windows 8.1 Pro.  T

  • Unity Message Aging Policy

    All, is there anyway to customize the Message aging policy beyond the options that are present?  As an example any way to move a message from New Directly to Deleted Folder after 10 days but bypass the Move to Saved folder? Thanks, All replies rated.

  • Simulation in Bapi/FM for sales order is locking tables

    Hi We want to use bapi BAPI_SALESORDER_CHANGE or FM SD_SALESDOCUMENT_CHANGE to simulate the effect on prices of a sales order. We must do this during the printing of the sales order. This bapi/FM is locking the sales order tables during the simulatio

  • Authorisation in Z-report

    Hi All I have created Z-report, i want to restrict  Access in Z-report using authosrisation object on field plant. I want to use standard authorisation object only.   This report must be used by specific business unit  plants users. I dont want to ha