Preset VE Viewer preferences in API via current VE Viewer SDk

In the current VE Viewer SDK, we need a method to set viewer preferences.... uncheck rollover labels, uncheck backfacing geometry, set top and bottom background colors, etc.  In our current productions, VE Viewer 7.0xx is embedded in an API that we have developed using the provided VE Viewer SDK 7.0 as the base viewer. This has been a known bug, but we do not currently have a resolution.
We need viewer preferences pre-set prior to .rh content load. Currently, we have to rely on the end-user (customer) to set specific preferences in VE Viewer 7.0.. outside of our API. As you may have experienced, even with specific directions, the end-user is not always the best choice for setting any preferences in VE Viewer or any other program.
to Vlad Noskov;
Hi Vlad,
I do not know if this bug has been fixed in the current VE Viewer SDK, but if it has not, we really need this.
Regards,
Bill

William -
Are you aware of the IDeepView.ExecuteCommand Method that is documented in the API chm document?
It provides command codes like
Rollover Labels
M1275
which can set that feature ON or OFF. I beleieve you can issue these commands before, or after, a model is loaded.
Bob

Similar Messages

  • How can I get (using API) the current sort column for some report

    hello,
    How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
    I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
    I thought it was posssible by using
    APEX_UTIL.GET_PREFERENCE (
    p_preference IN VARCHAR2 DEFAULT NULL,
    p_user IN VARCHAR2 DEFAULT V('USER'))
    RETURN VARCHAR2;
    function, but I don't really know which preference should I pass as parameter.
    looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
    I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
    Can I get (using API) a list of all preferences set for some user ?
    Thank you,

    seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
    is there anyplace where I can get these kind of things documented ?
    Thank you.

  • The preset time (Edit Preferences General) doesn't work

    The preset time (Edit>Preferences>General) of the Still Images Default Duration doesn't work.
    I have several times tried. No result.
    What to do?

    Changing the value does not apply to already imported stills.
    You need to delete them and re-import.
    Or just change the duration in the Project Window.

  • OT: admin api via soap?

    Is there any work going on to provide the equivalent of the admin api via
    soap?
    Thanks,
    Johan

    Johan,
    Yes, there is a effort taking place in this area. No official release dates
    have been announced.
    Jay
    "Johan Reinalda" <[email protected]> wrote in message
    news:vGA9j.10280$[email protected]. .
    > Is there any work going on to provide the equivalent of the admin api via
    > soap?
    >
    > Thanks,
    > Johan
    >
    >

  • "File is too large for attachment." using the Viewer SDK

    Post Author: CBurger
    CA Forum: JAVA
    I'm using the Viewer SDK to retrieve a report from BOE XI 2 SR2.
    This is done via the a piece of Java code ...
    ReportExportControl exportControl = new ReportExportControl();
    ExportOptions exportOptions = new ExportOptions();
    IReportSourceFactory psReportSourceFactory = (IReportSourceFactory) enterpriseSession.getService(ReportConstants.REPORT_PSREPORT_FACTORY);
    Object reportSource = psReportSourceFactory.openReportSource(report.getID(), Locale.ENGLISH);
    exportControl.setReportSource(reportSource);
    exportControl.setURI(reportPath.toString());
    exportControl.setExportOptions(exportOptions);
    exportControl.setExportAsAttachment(true);
    exportOptions.setExportFormatType(exportFormat);
    exportControl.setParameterFields(reportParameters);
    exportControl.processHttpRequest(request, response, getServlet().getServletConfig().getServletContext(), null);
    exportControl.dispose();
    The report is generated as an Excel file.
    If I call for a small Excel - no problem: a dialog pops up asking me to "save as ..."
    If I call for a larger Excel (about 20MB) - PROBLEM "File is too large for attachment."
    Unfortunatly I don't find any information in the log files.
    Any ideas?

    Has this ever been resolved?  We are having a similar issue.
    Thanks!

  • Examples for RAS/BOE/Viewer SDK for Business Objects XI 3.1 (12.0)

    Hi, I am a newbie in Business Objects.
    I am trying to find some examples on how to view reports on separate Application server (JBoss) and retrieve reports from Business Objects server. Us I understood from forums/guides I need to use Viewer SDK or (BOE/RAS SDK).
    However I cannot find any examples for above mentioned SDKs to start from something.
    OIne of the places I came across is here: http://devlibrary.businessobjects.com/businessobjectsxi/en/en/Viewers_SDK/default.htm indeed it is only for v11, as well as others places I came across.
    Can anyone guide me with this?
    Thank you!

    Hello.
    Java samples can be found at the following location:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Specifically, Business Objects Enterprise (including the Viewers SDK) samples can be found at the following location:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaBusinessObjectsEnterpriseSDKSamples
    RAS SDK samples can be found at the following location:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaRASSDK+Samples
    Hope this helps.
    Regards.
    - Robert

  • [svn] 4840: Fix bug SDK-18904 Redudant APIs on UICompoennt and GraphicElement, SDK-17508 Applying a translation to a Rect causes shape to be scaled

    Revision: 4840
    Author: [email protected]
    Date: 2009-02-04 13:20:07 -0800 (Wed, 04 Feb 2009)
    Log Message:
    Fix bug SDK-18904 Redudant APIs on UICompoennt and GraphicElement, SDK-17508 Applying a translation to a Rect causes shape to be scaled
    Fix: remove layoutMatrix, layoutMatrix3D properties, add a parameter to the setLayoutMatrix, setLayoutMatrix3D methods to designate whether to trigger a layout pass after the transformation is applied.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18434
    Reviewer: Jason
    tests: checkintests, mustella flash component kit
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18904
    http://bugs.adobe.com/jira/browse/SDK-17508
    http://bugs.adobe.com/jira/browse/SDK-18434
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

  • Presets not taking affect when printing via adobe reader

    I have discovered that after upgrading to Mavericks, when printing multiple page documents via Adobe Reader, it will not take on my 1-sided printing preset and instead prints 2-sided as per the default setting on the printer driver.
    Has anyone come across this?

    kirstyfiona wrote:
    I dont seem to have the option for printing on both sides on the adobe print screen. In the past it would just use whatever preset you currently had set.
    I seldom use Adobe Reader except for completing forms and printing them.  Preview never seems to get those right.  I did do some testing on my Mavericks machine and can confirm that Adobe Reader is ignoring a Preset I created for my EPSON WorkForce 1100.  From the CUPS debugging log it would appear that Adobe Reader is bypassing the Apple print window.  It would not therefore be picking up a Preset.
    Wht make and model of printer are you using?  If your prnter uses a PDE to set duplexing, I can imagine that Adobe Reader is not going that deep.  It would look at the PPD and just use whatever is in there.  If you let me know the printer make and model, I may be able to confirm that.  I am not sure that will get you any closer to a sulution.  It may help answer "why".

  • Unable to use Datasource.cfc in Admin API - The current user is not authorized to invoke this method

    Hi Everyone,
    I am having some issues accessing the methods in the datasource.cfc in the adminAPI.
    I can successfully load the administrator CFC and am told that I have successsfuly logged in;
    But when I try to subsequently load the datasource.cfc I get an error that the current user is unable to access the method.
    /* Create an Admin API object and call the login method */
                                                      var local = {};
                                                      local.adminObj = createObject("component", "cfide.adminapi.administrator");
                                                      /* Enter your password for the CF Admin */
      /* if you dump this - TRUE is returned */
                                                      local.adminObj.login(adminPassword="my_admin_user_password");
                                                      /* Create an object of datasource component */
                                                      local.dsnObj = createObject("component", "cfide.adminapi.datasource");
      writeDump(local.dsnObj.getDataSources());
    I tried creating separate admin users and passwords - yhinking that perhaps a revent hotfix had stopped the "admin" user from being allowed to use the adminAPI - but changing to a new adminuser yielded the same results.
    I could login to the admin API with the new username and passsword - but could not access the datasource.cfc after that.
    Here is the debug output from the error...
    The current user is not authorized to invoke this method.
    The error occurred in accessmanager.cfc: line 48
    Called from datasource.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 155
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 45
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 1
    -1 : Unable to display error's location in a CFML template.
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
    Remote Address 
    127.0.0.1
    Referrer 
    Date/Time 
    22-Apr-13 01:09 PM
    Stack Trace
    at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:/cf10_final/cfusion/wwwro ot/CFIDE/adminapi/accessmanager.cfc:48) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:/cf10_final/cfusion/wwwroot/ CFIDE/adminapi/datasource.cfc:52) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:/inetpub/wwwroot/projectD ir/trunk/Application.cfc:155) at cfApplication2ecfc498167235$funcINIT.runFunction(C:/inetpub/wwwroot/projectDir/trunk/Appl ication.cfc:52) at cfApplication2ecfc498167235._factor5(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: 45) at cfApplication2ecfc498167235.runPage(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc:1 )
    coldfusion.runtime.CustomException: The current user is not authorized to invoke this method. at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799) at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\accessmanager.cfc:48) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\datasource.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:155) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235$funcINIT.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235._factor5(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:45) at cfApplication2ecfc498167235.runPage(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:538) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:234) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:159) at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:120) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:138) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:84) at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:232) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    And here is the listed exceptions, beneath the stack trace;
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - java.io.FileNotFoundException - in C:/ColdFusion10/cfusion/wwwroot/WEB-INF/exception/errorcontext.cfm : line 44
             E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc (The system cannot find the path specified)
    This perspn seems to be having the same issue;
    http://forums.adobe.com/message/5051892
    and I agree I don't have "E" drive either!

    I've found a solution to my plight - I don't know if it'll work for you or help you try something that MAY fix it.
    I use a common code set which includes the Application.cfc from a CF Mapping - So, in the application.cfc in the actual website I do this:-
    <cfinclude template="/UberDirectory/Application.cfc">
    Then, in the /UberDirectory/Application.cfc, I was initialising a CFC which checks if the datasource was created for the website. The datasource checking code attempts to log into the Admin API and check & create if necessary the datasource.
    This has previously worked without fail for me - But in this instance it failed!! I was doing two things wrong - Firstly, the CFC should only be called in the Application.cfc in the onRequestStart section as the Application had to be initialised first - This is maybe because I've invoked the application.cfc in a "non-standard" manner.
    Secondly, once I'd moved the CFC invocation into oNRequestStart I saw the following error:-
    The string COOKIE.CFAUTHORIZATION_uber-directory is not a valid ColdFusion variable name.
    I had this as the app name .... <cfset this.name = 'uber-directory'>
    Changedthe dash to an underscore and I was away and could once again check the datasources
    Hope it helps
    Martin

  • SOAP API via Java

    I get the following error when trying to connect to the SAW Authentication service via java
    [java] {com.siebel.analytics.web/soap/error/v1}Error:
    [java] <sawsoape:Code>OQ78YWIW</sawsoape:Code>
    [java] <sawsoape:Message>Assertion failure: false at line 126 of /vol1/users/anabuild/views/nigh\tly/Tue/aruba/RH_Linux/vobs/071217.1900/analytics_web/main/project/webxml/buffersaxcontenthandler.h</\sawsoape:Message>
    [java] <sawsoape:File>/vol1/users/anabuild/views/nightly/Tue/aruba/RH_Linux/vobs/071217.1900/ana\lytics_web/main/project/webxml/buffersaxcontenthandler.h</sawsoape:File>
    [java] <sawsoape:Line>126</sawsoape:Line>
    [java]
    I'm using Apache Axis to generate the proxy. Oddly enough, Ruby's SOAP client works fine calling the same function. Any thoughts or does anyone else have a proxy generation tool that they've used successfully?
    Thanks!

    Hi,
    According to your post, my understanding is that you want to create the Inplace hold for SharePoint via application.
    Per my knowledge, there is no class in client object model like the Hold class(Microsoft.Office.RecordsManagement.Holds).
    As a workaround, we can customize a web service, then we can use server object model to achieve it.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/f968d9d6-db5a-445f-bf90-0891217369e9/place-document-on-hold-using-csom-or-rest?forum=sharepointdevelopment
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Aperture 3 Issues:  "Apple" Raw Preset Override, Viewing, + Flickr

    I have created a RAW preset for my Canon camera and asked Aperture to save it as my default. However, each time I load aperture, the "Apple" preset overrides my specific RAW camera preset. For some reason, the default "Apple" preset maxes out the boost.
    Also, hitting the "v" key to change views is behaving erratically. The Inspector/Image view will simply not be in the cycle sometimes. I have also experienced my RAW files flickering when changing views, resulting in CPU overload.
    And just some final comments: I'm glad to see Flickr integration, but more options would be nice. I'd like to be able to delete the aperture/flickr project without it actually deleting my flickr set.
    Thanks for any help...
    Jacob

    i have the same issue..the raw preset does not stick....

  • Statemanagement Service API via web services

    All,
    I have been able to get the state property of a resource (i.e. "In Progress") via the KM web service, but have not been able to change the status to "Awaiting Approval" via a web service (SetProperty does not work as the "state" property is read-only).  There are several examples of Java code leveraging the State Management API either via a Repository Service, WD4J, etc., but non of them are via a web service (i.e. callable from ABAP).  Can someone please confirm whether or not the State Managment functionality is available via the KM Web Service API's and if so, which method?
    Just want to make sure I've exhausted this approach prior to having to embark on creating a Repository Servce.
    Thanks,
    Chad

    Hello,
    No idea of using a web service to get it done from ABAP.
    But you know any web service which changes the value of any KM Properties via Web Service.
    Regards
    BP

  • Reseting a specific Sort Preference independant from the current App_ID

    Hi,
    I want to reset a specific User Sort Preference. That is no problem, look in the report "current User Preferences" and reset the name with apex_util.remove_preference.
    But I have 3 systems with different App_IDs Developing = 220, Test = 320 and Production = 420. So this specific sort preference has different names in different versions (FSP220_P20_R...., FSP320_P20_R...)
    I dont want to reset all preferences for the user. Is there any solution...?
    Thanks, Juergen

    Hi Vijay!
    Have a look at my post: http://ioi.solutions/easy-way-get-sharepoint-context/
    It will save you a lot of your time.
    SPLoader.js file has example of updating/deleting  items:
    function updateCheckList(list,listItemId,fields) {
    var deferred = $.Deferred();
    SpLoader.ready(function () {
    var listName = list;
    var oList = SpLoader.hostWeb.get_lists().getByTitle(listName);
    var oListItem = oList.getItemById(listItemId);
    $.each(fields, function (index,item) {
    oListItem.set_item(item.fname, item.value);
    oListItem.update();
    SpLoader.context.executeQueryAsync(
    function () {
    deferred.resolve("Operation successfully completed.");
    function (sender, args) {
    deferred.resolve('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    return deferred.promise();
    In the above example I am dynamically updating fields with new values.
    fields= [{fname:'field1',value:1},{fname:'field2',value:0},....]
    Nick

  • Invoke E-Business Suite  PA_PROJECT_PUB.Update API via apps adapter

    Hi,
    I am trying to invoke an R12 API called PA_PROJECT_PUB.Update Project with the help of the apps adapter in J developer. I have set the context settings too in the invoke activity's properties, jca.apps.Username, jca.apps.Responsibility, jca.apps.RespApplication and jca.apps.ORG_ID.
    Is there a need to call the pa_interface_utils_pub.set_global_info or this will taken care of by the invoke parameters itself?
    any help would be much appreciated
    Thanks

    Hi,
    Instead of using PA_PROJECT_PUB. UPDATE API call use Ebiz SOAGateway to expose the PL/SQL API as service and it will take care of setting required apps context setting. Refer EBSR12 SOAGateway documentation.
    Regards,
    Ravisankar

  • Unknown server error when accessing Search api via REST

    When trying to access the SharePoint search service via REST, I always get an internal server error with no information about the cause of the problem.
    My SharePoint app uses app-only permissions, and includes search permissions as follows:
      <AppPermissionRequests AllowAppOnlyPolicy="true">
        <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="Write" />
        <AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="Read" />
        <AppPermissionRequest Scope="http://sharepoint/search" Right="QueryAsUserIgnoreAppPrincipal" />
      </AppPermissionRequests>
    I see the search permission listed when installing the app.
    I know I'm getting a valid bearer token, because all of my other requests work fine. Here is the request I'm making that returns the error:
    REQUEST:
    $ curl -H "Authorization:Bearer abcABC...f1-iYrm-efhQ" https://<domain-my>.sharepoint.com/_api/search/query
    where <domain-my> is the SharePoint site that I'm accessing. I've also tried this request with all combinations of headers, including Accept, Content-Type, odata, and even including the request digest. I've also tried adding query parameters, and using
    POST with the query in the message body. However, this is always the response I receive:
    RESPONSE:
    <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-1, Microsoft.Office.Server.Search.REST.SearchServiceException</m:code><m:message
    xml:lang="en-US">An unknown error occurred.</m:message></m:error>
    If I log in to SharePoint I can make a get request to /_api/search/query and it returns a non-error response. What is causing the problem with my REST request? Is there any way to get more information from the server? This is SharePoint online, so I don't have
    access to the server.
    Thanks!

    When using search you must have a user context, it cannot be used with an app only policy. This feature has been submitted to Office User Voice. You can vote for it here:
    http://officespdev.uservoice.com/forums/224641-general/suggestions/6069886-make-it-possible-to-use-sharepoint-search-with-app
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

Maybe you are looking for

  • Flash contents not being displayed on the published Apex application URL

    I've had to publish one of my apex application through an bluecoat proxy to reach my Oracle HTTP server. It works fantastic for everything - except my flash charts. Flash contents are not getting loaded.Issue is only in the published application URL,

  • Document restriction

    Hi Experts, How to restrict different users for accessing same Document type based on certain additional fields? for eg:if 2 users have access to create same document type, how to restrict displaying the documents based on some additional data entere

  • Need to fix trigger

    I have two tables <strong>grade_point </strong> A B C D 4 3 2 1 and <strong> grade_report</strong> STUDENT_NUMBER NAME SECTION_IDENTIFIER GRADE GRADE_POINT 17 Smith 112 B 3 17 Smith 119 C 2 8 Brown 85 A 4 8 Brown 92 A 4 8 Brown 102 B 3 <strong>what i

  • Coby mp3 player not detected as mp3 player [SOLVED]

    Hello, I want to load music onto my wifes new mp3 player that I bought, it only mounts it as a drive. I can see the player on the desktop and in the filesystem. Rythmbox and Banshee do not detect it at all, please help I just want it to work. Arch li

  • Passing data from datagridview to textboxes

    Hi Guys, I need help in passing data from a datagridview control to textboxes. I have a simple windows apps with 2 forms, when the user doubleclick a value from a datagridview control in form1, I want the record to be displayed in the texboxes of for