Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all 20709 articles
Browse latest View live

Starting InDesign server from a remote location

$
0
0

Hi All,

 

I have a java application program running on a remote machine say M1.

I have InDesign Server CS6 installed on another machine say M2.

 

Now my question is as follows.

Is it possible to start InDesign Server which will serve SOAP request from a java application program(running on M1).

 

Regards,

Alam


Best approach to implement a content driven composition with InDesign ?

$
0
0

Hi,

 

I'm search for the best approach to implement an automatic content driven composition with Indesign.

 

 

My contents are XML based.

 

 

For now, I work with InDesign (Desktop app) and a scripting solution to handle CMS search and import in predefined InDesign templates or files with known pages number.

 

 

Tomorow, I need a solution to compose many pages on demand with an unknown pages number produced, a simple and repeatable InDesign template.

 

 

InDesign server will be used to do this job.

 

 

But how to use it ?

 

 

by handling IDML files  ?

by scripting ? an ImageCatalog.jsx based on an XML structure ...

other solution ? maybe a plugin ?

 

 

What's the best approach in term of performances, development charge and maintenability ?

 

 

Any ideas, samples, ... will be appreciated

 

 

Thanks

Where can I obtain the latest InDesign Server CC 2014 update release? Current version 10.0.0.70

$
0
0

I need to make sure I'm running the latest up to date version of InDesign Sever CC 2014, but I'm struggling to find any updates. Can anyone help please?

 

Current version 10.0.0.70. I cannot upgrade to CC 2015, just need the latest patch for CC 2014.

Scripting InDesign Server

$
0
0
I understand that when scripting the server, there is no such thing as an activeDocument, so app.activeDocument should be replaced with:

app.documents[0].getElements()[0]

if you want a resolved reference (app.documents[0] is usually good enough, though).

But what happens to commands like:

alert(Msg)

and it's confirm() and prompt() brethren? Do these cause a message on the server thereby bringing things to a halt? Or is the server intercepting these and moving on?

Is there a place a scripter can go to get information on what can or cannot be done on the server? Or should that be "what should or should not be done"?

Dave

InDesign Preferences on InDesign Server

$
0
0

I'm currently working on automating document generation using InDesign Server.  We've set some preferences in the regular InDeisgn while creating the template regarding how pages are inserted when text overflows the current page.  How can I carry over this preference setting from the client version of InDesign to the InDesign Server settings?   As it stands now, the document looks correct when viewed on the client with the preferences set, but incorrect when the document is generated on the Server itself.

Installation issue on Mac

$
0
0

Hi,

 

I tried to install Indesign Server CC 2014 on my Macbook Pro, but the install fails showing message "Erforderliche Komponenten sind deaktiviert" (english translation: Required components are deactivated).

 

indesign-server-install-issue.jpg

 

The Macbook is running MacOSX 10.10.5 and Adobe Creative Cloud 2015 including Adobe Indesign is installed on the machine.

 

Patrick

InDesign Server - License

$
0
0

Hi,

 

I want to have InDesign Server trial for ever for one my cloud product in which I am tring to demo. After the demo user can either purchase InDesign server themself or plug-in my tool with their existing InDesign server. If I use InDesign Server 90 days trial, after 90 days, will it stop to work or continue to work with water mark? I am fine to have water mark even from the first day. I email to Adobe asking "InDesign Server Developer Free License" but no response. Please advise.

Return code 6 when trying to activate trial of InDesignCC Server 2014

$
0
0

Hi!

 

I keep on having the "return code 6" when I try to activate a trial version InDesign CC Server 2014 (pc) with APTEE:

i try to use the commande adobe_prtk --tool=StartTrial --leid=InDesignServer-10-Win-GM


IDS CC2015 on Mac OS : Segmentation fault using compiled script

$
0
0

Hi all,

 

I am working on a project including IDS CC 2015 on a Mac. If I use uncompiled version of the script, it just works fine. Once I compile the code, I get a segmentation fault error and the server crashes. On prior versions this compiled code works fine.

 

Had anyone already faced that issue ? Any hint on how to prevent it ?

 

Thanks in advance for your help,

 

Loic

How to run Indesign CS3 as a Service with Port number

$
0
0
Hello all,

I would like to run the InDesign CS3 Server as a service on Windows. It seems that after installing the Server it automatically installs as a service. But where can I assign the port number. If under Services properties of InDesign Server under Parameters I mention -port 1050 on Ok button it removes the parameter information.

I am doing right or is there some other way to start the Server as Service with Port number.

Thank you all in advance.

Regards
Farzana.

kImportXMLFileCmdBoss differencies on Desktop and Server

$
0
0
Dear developers,

I have this issue when running my plugin in InDesign Server CS2


09:57:38 ERROR [server] Adobe InDesign is shutting down. A serious error was detected. Please restart InDesign to recover work in any unsaved InDesign documents.


If I run the same plugin in InDesign Server CS2 Debug, there is also 'About to use nil pointer statement in the server log.

If I run the same plugin in InDesign CS2 there is NO such error.

The problem comes when I try to process kImportXMLFileCmdBoss. All interfaces should be set properly as the XML import is OK in the Desktop version of InDesign.

Do you have any ideas why this may occur?

Best regards,

Pardál

Error while loading PDF Preset file

$
0
0
Dear All,

I am trying to create a PDF of the InDesign Document after my process. For that I load the preset file generate the PDF and unload Preset file from the server. On this it gets removed properly from the temporary folder also.
Problem is when I run the process second time using the same preset file InDesign Server throws an error "This file is already open by another user or another application. This file may be stored on a network server and cannot be opened until the other user closes it."

It works only if I restart the server. Can somebody help me on this its urgent.

Thanks in advance.

Regards
Farzana.

Paragraphs and Bulleted List

$
0
0
We are trying to format some text in a TextFrame that we add using javascripting (and InDesign Server CS3).

Basically, this is what we would like to achieve:

Some text goes here

* First bullet point
* Second bullet point
* Third etc...

Each line ends with a "\r" - when we iterate through the paragraphs in the TextFrame and apply the formating in this way:

textFrame.paragraphs[textFrame.paragraphs.length-1].bulletsAndNumberingListType = ListType.BULLET_LIST;

We get the following result:

* Some text goes here
* First bullet point
* Second bullet point
* Third etc...

When debugging the script we notice that after setting the ListType.BULLET_LIST on the third paragraph the first paragraph suddenly becomes a bullet point; * Some text goes here...

Are we using the script API in the wrong way?

imageTypeName, space, actualPpi, effectivePpi

$
0
0
Does anyone have a reasonable explanation as to why the imageTypeName, space, actualPpi, and effectivePpi properties of the Image object are "unsupported" under InDesign Server CS2?? They work SPLENDIDLY via javascript in the standalone InDesign CS2, but the same exact javascript running under InDesign Server gives me the unsupported exception. Arggg!!! It makes no sense! Can anyone tell me if these are supported in CS3?

UserInteractionLevels is undefined

$
0
0

Hello All,

 

While exporting Indesign INDD file to INX file on CS3 Server using javascript (.jsx) I got following error...

 

Error Number: 2
Error String: UserInteractionLevels is undefined
Line: 12
Source:         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;

 

Can you please suggest how to resolve this issue?

 

Thanks,

Shail


Passing parameters from plugin to script

$
0
0

I need to pass some parameters from a plugin to a script. I have tried this method:


    PMString engineName("myengine");
    PMString scriptString("C:/Program Files/Adobe/Adobe InDesign CS4 Debug/Scripts/IterateFolder.jsx");
    IDFile scriptFile;
    scriptFile.SetString(scriptString);

    PMString value("c:/windows");
    ScriptData param1;
    param1.SetPMString(valor);

 

    ScriptIDValuePair argument1(0, param1);
       
    ScriptRecordData arguments;
    arguments.push_back(argument1);
    ScriptData result;
    PMString errorString;
    ScriptData scriptFileData(scriptFile);
    int32 errorCode=Utils<IExtendScriptUtils>()->RunScriptInEngine( engineName, scriptFileData, arguments, result, errorString);

 

 

The problem is that I don´t really kwno how can I get the parameters in my script. I suppose it must be something like app.scriptArgs.getValue(), but i don´t really know. Could anybody help me?

 

Thanks,

 

Alvaro

[InD. CS5 Server][JS] XML-Import, how to receive data?

$
0
0

Hello everybody!

 

I tried to import an simple XML with the ExtendScript Toolkit on InDesign CS5 Server with the following script:

 

var myXmlFile = new File("../path/blubb.xml");
var myContent;

myXmlFile.open("r", undefined, undefined);

while(!myXmlFile.eof)

{

     myContent = myXmlFile.read();

     var xml_value = myContent.childNodes[0].getElementsByTagName('ROOT').nodeValue;

     //var xml_value = myContent.getElementsByTagName('ROOT').item(0).firstChild.nodeValue;

 

     alert(xml_value);
}

 

the XML-FIle is this:

 

<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
     <TEST>blubb</TEST>
     <TEST2>bla</TEST2>
</ROOT>

 

If i alert myContent, there is the whole XML in the terminal output in one line. And the console of the ExtendScript Toolkit says "Execution finished. Ergebnis: undefined". (why is the result: unfinished?)

Now i tried to get some nodeValues in different ways (from different tutorials) but sometimes theres an error "myContent.getElementsByTagName is not a function". So i tried different ways, without this functions but if i tried to access the nodes like this:

 

var xml_value = myContent.item[0];

 

or some other compositions with "firstChild", "item[x]" and "nodeValue", there is the error message "undefined is not an object".

 

 

Could anyone please give me a hint, how to read the xml-data in a loop? I need to parse some XML-FIles from InDesign-CS2-Documents and create new InDesign-CS5-Documents, but stucked already at the first step...

 

Thanks for your reponses!

 

Greetings

Sybriz

Get XML-Tagged Textframes (JAVA-API)

$
0
0

Hi everyone,

 

at first i'd like to say hi to anyone on this board and well ...

i have a problem that i don't seem to get fixed. I'm using Indesign Server CS5 with the JAVA/CORBA-API working fine so far.

 

I need to replace text in some predefined TextFrames which have tags assigned like 'Header', 'Bodytext' and so on. I have been struggling

for some hours until now, not being able to come up with a solution.

 

This is basically what i have now :

 

VariableType vtDocument = myApp.open(VariableTypeUtils.createFile(szDocumentPath), OptArg.noOpenOptionsEnum());
myDoc = DocumentHelper.narrow(vtDocument.asObject());

TextFrame[] aDocTextFrames     = myDoc.getNthChildPage(0).getAllChildTextFrames();
for(int i=0;i<aDocTextFrames.length;i++){
aDocTextFrames[i].getAssociatedXMLElement().toString();}

 

At first that code printed something like a XML-Node-Descriptor, leaving me wondering how to get to the XMLTag, which was associated with the textframes in the InDesignfile. Right now the script just dumps out the IOR-Descriptor, leaving me even more confused.

 

Does anyone know a good approach on how to get the XMLTag for a certain TextFrame?

 

Any help would be appreciated

 

Flo(w)

Indesign Server CS5 Multiple instance - Urgent, Please help!

$
0
0

Hi,

I am using a windows service to access the indesign server. The instance is created like below.

 

        Dim oType As Type = Type.GetTypeFromProgID("InDesignServer.Application")

        If oType IsNot Nothing Then

                 Return Activator.CreateInstance(oType)

        End If

 

If already an instance is created by some other application, then my service is not able to create an instance. I get the following error from the COM

 

"Retrieving the COM class factory for component with CLSID {96D10A00-63E3-423E-A223-DFC4BEA21206} failed due to the following error: 80080005."

 

In some article i read that instance can be created by different port numbers and different configuration.

 

Is there anyway in VB.net to create an instance like that and will it solve the multiple instance problem ?

 

Regards,

Karthik B

logs in Indesign Server

$
0
0

Hi Experts,

 

We are running multiple instances of Indesign server service. But for all the instances Logs are coming into single file. Is it possible to separe the logs for each instance of server.

 

It will be great help for analysing each server request. If possible please let us know.

Thanks in advance.

 

Regards,

sameer

Viewing all 20709 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>