How to connect to Indesign object model from VBA (Macintosh_Office)?

In PC it was: find/load tlb-file and chek box to activate. In Mac i don't see any tlb-files, so can't add this lib to VBA reference. Can i do this at all?

Hi,
According to your description, you might want to connect SharePoint Online environment using Client Object Model.
For the authentication, you can take a look at the link below with code demo provided:
http://www.vrdmn.com/2013/01/authenticating-net-client-object-model.html
Best regards,
Patrick
Patrick Liang
TechNet Community Support

Similar Messages

  • Connect to COM(OBJECTS/METHODS) FROM ABAP

    Dear all.
    How can I connect to COM objects/methods from abap?
    Could give me link to example.

    Yes this method raises and exception with this message
    Message ID:          FDT_CORE
    Message number:      085
    DO_IM_DATETIME is not in the context
    The method SET_VALUE corresponds to IF_FDT_CONTEXT. This is the method's calls
          lv_name = 'DO_IM_DATETIME'.
          TRY.
              o_context->set_value( iv_name =  lv_name
                                    ia_value = lv_element_tzone ).
            CATCH cx_fdt INTO lx_fdt.
              RAISE incorrect_parameter.
          ENDTRY.
    I reactivate the aplication, the function, the expression and the data objects.
    But the method is still giving this exception.
    I have only this exception when I try to set up this two parameters:
    DO_IM_DATETIM of type Timepoint
    DO_IM_LANGU which is binding to the element type LANGU
    But in my BRFPlus Function Context I do have this two parameters.
    Thanks !

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • ESTK Indesign Object Model

    Hi All,
    How to deal with InDesing Object Model in ESTK? Is anybody have any manual or reference?
    I am having problem to understand classes (singular and plural) and method. I have not found any reference in Java script Tool Guide.
    Please guide me.
    Thanks,
    Mon

    Mon,
    The distinction between singular and plural is an artificial one. The plural refers to a class of objects, the singular to inividual objects. Take page, for instance. Under pages you see methods such as add(). Under page you see methods (move(), remove()) and properties (length, characters). But page doesn't exist as an object: instead you address an item in the class. Some examples:
    Relating to the whole class:
    myDoc.pages.add()  // add a page to the document's pages collection
    myDoc.pages.length  // the number of pages in the document
    Relating to individual pages:
    myDoc.pages.item(0).textFrames  // the text frames on the first page
    myDoc.pages.item(1).groups  // the groups on page 2
    As tomaxxi mentioned, Jongware files are very good. For some more explanation of the object model, see http://oreilly.com/catalog/9780596802523/
    Peter

  • How to connect LIVE CYCLE Policy server from ADOBE ACROBAT

    Hi All,
    I want to know how to connect to Livecycle Policy Server from Adobe Acrobat.
    I had generated mykeystore and changed the server.xml.
    https://localhost:443/ is working on server m/c
    but when i configure Acrobat security setting and add new server with server name as the IP Address of Server(10.224.72.38)
    then it gives error : "Enable to connect to the service at https://10.224.72.38:443.
    Please tell me how to connect to the server.
    Thanks in Advance

    Hi All,
    I want to know how to connect to Livecycle Policy Server from Adobe Acrobat.
    I had generated mykeystore and changed the server.xml.
    https://localhost:443/ is working on server m/c
    but when i configure Acrobat security setting and add new server with server name as the IP Address of Server(10.224.72.38)
    then it gives error : "Enable to connect to the service at https://10.224.72.38:443.
    Please tell me how to connect to the server.
    Thanks in Advance

  • InDesign Object Model Not in OM Viewer

    I have the trial of InDesign CS4 installed, along with the scripting componetns and Adobe bridge.
    In the ES Toolkit object model viewer I have four options in the dropdown:
    Core JavaScript Classes
    ScriptUI Classes
    Adobe Bridge CS4 Object Model
    Adobe InDesign CS4 Object Model
    The first three options work fine. The crucial fourth option (the InDesign model) does nothing. I open it and the drop down just closes, then snaps back to whatever the previous selection was.
    What is causing this and how do I fix it? Hard to script without the object model reference!
    Many thanks in advance for any help.
    Jude Fisher
    http://www.jcfx.eu

    Try selecting InDesign from the drop down before starting InDesign.
    That's the only way I can get it to work on my installation...
    Harbs
    http://www.in-tools.com

  • HELP! Where I can find the InDesign Object Model, Methods, and Properties?

    I've done a little VB scripting with InDesign, using some of the examples I've found here and there. But I can't for the life of me find a full listing of the Object Model, nor a listing of methods and properties. I'm limited in what I can do by stumbling upon objects here and there in others' scripts. Surely this must be documented somewhere.
    One thing that's particularly confusing to me (partly because I'm not well-versed in JS), is I'll see something the following
    app.selection[0].fit(FitOptions.frameToContent)
    where "FitOptions.frameToContent" seems to reference a constant, presumably in a structure. How do I determine the actual constant value, or supply an object reference (as I'm scripting from a stand-alone VB app) such that it can "find" that constant?

    I don't know how VB5 works, but when you add reference to InDesign and declare variable, for example:
    Dim myInDi as InDesign.Application
    then when you write somewhere "myInDi." - VB6 IDE give you context list with all methods and properties of InDesign application
    here is link to AS/JS/VB CS2 reference and AS CS3 reference
    http://www.indesignscriptingreference.com/
    here is link to CS2 ScriptingGuide - 20MB ;)
    http://www.adobe.com/products/indesign/pdfs/InDesign_Scripting_Reference.pdf
    I remember that was page with InDesign Scripting PDFs on adobe site - but now all links are broken ... somebody in Adobe - web admin - should check what is going on ...
    Photoshop and Illustrator pages works fine:
    http://www.adobe.com/devnet/photoshop/scripting/
    http://www.adobe.com/devnet/illustrator/scripting/
    somebody forgot to add links to scripting section in InDesign page:
    http://www.adobe.com/devnet/indesign/
    robin
    www.adobescripts.com

  • How to impersonate in client Object model?

    Hii,
    I am using client Object Model Programming in WCF service which is hosted on IIS. I have created separate APP pool in IIS which has windows authentication enabled. This App pool account will be dealing with the sharepoint server. Now I am stuck at one point.when
    I upload a file, I want to set the actual logged in user as the author or editor of the file not the app pool account. Means I want to impersonate. How can I do this?
    I have visited this link
    http://stackoverflow.com/questions/949340/getting-networkcredential-for-current-user-c but didnt work out as expected. Can any one provide some input please?
    Thanks and Regards,
    PraTech

    Hi I have tried both the options.
    The first option works fine.It impersonates all the user calls. But I wan to use serviceaccount and useraccount at times. Coule you please look in the below code and let me know why it is failing?
    teh problem is described below.
    I have an IIS app pool account to interact with the sharepoint server. but there are cases when I need to use the logged in users credentials instead of appPool account when doing some operations like uploading a document. So I decided to impersonate. I
    added the below code in the web.config file so that all  server calls are impersonated.
    <serviceBehaviors>
    <behavior name="ImpersonatedBehavior">
    <serviceMetadata httpGetEnabled="true" />
    <serviceDebug includeExceptionDetailInFaults="false" />
    <serviceAuthorization impersonateCallerForAllOperations="true"
    </behavior >
    </serviceBehaviors>
    and then i have a file uplaod method as given below
    public string UploadFile(objDocument)
    using (ClientContext clientContext = new ClientContext(objDocument.workspaceUrl))
    Site site = clientContext.Site;
    clientContext.Load(site, s => s.Url); //need url for some reasons
    clientContext.ExecuteQuery(); //Exception :UnAuthorized
    File.SaveBinaryDirect(clientContext, urlpart+ "/" + FileName, stream, true);
    clientContext.ExecuteQuery();
    the very first call to ExecuteQuery was throwing exception "UnAuthorized".actually  the user has full control on the particluar workspace.then I add the below piece of code ( just before the clientContext object initilaiztion )so that clientcontext
    object is created using the serviceAccount(appPool Account). then it was working fine. but failing at File.SaveBinaryDirect() method call.
    WindowsImpersonationContext ctx = null;
    if (!WindowsIdentity.GetCurrent().IsSystem)
          ctx = WindowsIdentity.Impersonate(System.IntPtr.Zero);
    using (ClientContext clientContext = new ClientContext(objDocument.workspaceUrl))
      Site site = clientContext.Site;
      clientContext.Load(site, s => s.Url); //need url for some reasons
      clientContext.ExecuteQuery();  //Working Fine now.
    if (ctx != null)
    ctx.Undo();// co'z while uploading the file we dont need appPool account.but need users account.
    File.SaveBinaryDirect(clientContext, urlpart+ "/" + FileName,  stream, true);
    clientContext.ExecuteQuery();//Exception
    finally
                        if (ctx != null)
                            ctx.Undo();
    Now it is throwing exception at the File.SaveBinaryDirect() saying "401:Unauthorized".

  • How to connect ECC 5.0 system from EP?

    Hi
       I want to connect ECC 5.0 system, which is located in a remote SLD, from EP 6.0.
       If anyone knows, please post the step by step details .
    Thanks and Regards,
    Abdul Kareem.S

    Hello Abdul,
    This should help you
    How to connect IDES ECC 5.0 to EP ?
    Also check
    http://help.sap.com/saphelp_nw04/helpdata/en/77/931440a1c32402e10000000a1550b0/frameset.htm
    regards
    Mahesh

  • How can I use Diagnostics Object Model APIs?

    Hi.
    In the Internet Explorer DevCenter page I could reach a very interesting section about developer APIs. In particular there is a section devoted to the Diagnostics
    Object Model API. This is something very cool I think but the problem is that I couldn't find a way to use such APIs.
    There are many pages about methods, properties that one can use, but absolutely no page where it is possible to download something or understand how to use these tools. For example consider the DiagnosticsGlobalScope object
    used across this API to retrieve references to all methods and other objects for diagnostics: I tried typing it in F12 console, but did not succeeded in getting a reference to a valid object.
    How am i supposed to use this API?

    Hi,
    As the issue is specific with IE development, you may contact Microsoft IE Dev center for further assistance on the issue:
    Contact - Internet Explorer Dev Center:
    http://social.msdn.microsoft.com/Forums/ie/en-US/home?category=iedevelopment
    Please revert for any clarification on this or any Windows issue. We will be glad to help you.
    Roger Lu
    TechNet Community Support

  • How To Connect To Oracle 11g Database From Microsoft Excel

    Hi All,
    I have Windows7 64bit installed in my laptop.
    I have Microsoft Excel 2007 installed.
    I tried connecting to Oracle database ( This is not a local database).
    Navigation used:
    Data> From Other Sources > From Data Connection Wizard > Other/Advanced > Next > Microsoft OLE DB Provider For Oracle > OK
    Now I get a pop up to enter:
    username
    password
    server
    When I enter all the required details I get this error "ORA-06413 CONNECTION NOT OPEN"
    Is there no need to give PORT number?
    Thanks,
    Vishwamber Shetty

    Hi,
    Did you install oracle client on the machine? Can you do "tnsping <SID>"? Can you connect to DB using sqlplus ?
    Try using tnsname for server name.
    Connecting to Microsoft Data Sources Through ODBC Connection  This shows how to connect using ODBC connection. I think this would be more appropriate.

  • Legal: Reuse RDL Object Model from decompiled Microsoft.ReportingServices.Designer.Controls.dll

    Hi,
    We need to create complex RDLs from code, from scratch and be able to modify existing one.
    The ideal solution is to use RDL Object Model classes from the Microsoft.ReportingServices.Designer.Controls.dll that ships with SSRS 2012.
    Unfortunately that dll is only for x86 and requires lots of depdendencies.
    One of our devs, decompiled that dll and extracted only RDL OM classes, packed into new DLL and made it Any CPU-enabled.
    I do not allowed this approach and wanted to find out first - is it legal doing this? The dll is going to be installed on our IIS-boxes.
    The RDL standard is open so theoretically, re-using plain RDL-OM classes should be legal.
    Thanks,
    Alex

    Hi Alex,
    It’s illegal if you want to reuse RDL Object Model through decompiling Microsoft.ReportingServices.Designer.Controls.dll.
    Regards,
    Heidi Duan
    If you have any feedback on our support, please click
    here.
    Heidi Duan
    TechNet Community Support

  • How to increse the info object length from 60 to 240

    Hi Experts
    I have one requirement 
    charectoristic maximum lenth is 60 ,how can i increase these lenth from 60 to 240
    can any one help me
    Regards,
    Ogeti

    Hi
    Here is demo for creating 4 objects.
    /people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
    But i tried this but the incoming data is not so flexible to understand.
    Hope this helps....
    Rgds,
    Dev

  • How to connect to a JMS queue from portal app

    Hi everyone,
    can someone help me.  I need to connect to a JMS or MQ queue with the portal.  I cannot seem to find any documentation on that.
    I would appreciate any aid in this.
    thanks
    Mariana

    I am trying MessageDrivenBean j2ee example given in portalwhich uses EJB.
    I am not able to connect with portal. I can see the available Queues and Topics from Visual Administrator. But How can I create my own topic?
    I am getting following exception while running given example.
    examplee is available at :http://portal/index.html->J2EE Engine Examples
    -->Message-Driven Bean Example
    Error occurred: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/MessageSender.

  • How do you know the object is from another database through db link

    I have a table named a2z_people. I searched dba_objects, I found this is a public synonym.
    How can I know the real table name in the another database. Where is this table come from? In another words, what's the source database?
    Thanks!

    In DBA_SYNONYMS, there is a DB_LINK column that names the database link being used (assuming the real object is on a remote database). Is that what you're looking for?
    Justin

Maybe you are looking for