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

XMLViewPreferences - IndesignServer

$
0
0

Hi all,

 

I have a requirement where the structure pane of the Indesign document ( .indd file) should be hidden by default.I have to do it in Indesign script. And I am running the script using indesign CS3 server.

 

Am getting an error saying "Object does not support the property or method xmlViewPreferences" in the below line.

 

app.documents.item(0).xmlViewPreferences.showStructure=false;

 

Is XMLViewPreference object available in Indesign Server.

 

Kindly help.

 

Thanks in advance.


Grouping rectangle and textframe type

$
0
0

Below code for simple grouping objects is not working.

 

ID Server CS4

Vb.net

 

Dim FigGp As InDesignServer.Objects
Dim obj As InDesignServer.Objects
obj.Add(rect.Index) 'throwing exception Object reference not set to an instance of an object.
obj.Add(CaptionFrame)
FigGp = ParentPage.Groups.Add(obj)

 

Regards,

Suresh

Sessions of Interest at the Creative Suite Developer Summit

$
0
0

You may not know about the Creative Suite Developer Summit, but there are several classes that you'll find interesting. I've listed some of them below.

 

Attending the developer summit is easy. You can either attend on-line, or in person. Dates are May 3rd - 6th. Attendance is free, all you need to cover is your transportation, hotels, and meals.

 

For more details on the conference, go to this page

 

Interesting classes for InDesign Server programmers include:

 

mnr

Import(insert) formatted text(HTML) into document

$
0
0

Hi guys, I have faceed with folowing problem:

how to insert into text frame formatted text ?

At Indesign desktop version this feature was able through pasting HTML from clippboard with appropriate settings of clippboard preferences. But at server versionthere is no such function.

I have also invesigated XML import:  you can set up text and paragraph styles and map them with tags but this technique doesnt support nested styles for instance if you have <b><i>xxx</i></b> and appropriate styles "b" and "i" i will be applied to "xxx".

 

So I need to insert html as it did clipboard pasting.

 

Any thoughts ?

Apply update 7.0.3 to Developer version of InDesign Server

$
0
0

Is there any way i could apply this update to a developer version of InDesign Server?

 

We have an export PDF problem with our Live InDesign Server which we can replicate on our development server. I would like to apply the update to our development server to see if the problem is resolved with the patch. Does anyone know of a way to do this?

 

When i try installing the patch i get "Update is not applicable".

 

Thanks,

 

 

 

Jeremiah

box.fit(FitOptions.FRAME_TO_CONTENT) BUG

$
0
0

Hello

I am making some  indesign script for processing some indd files. The problem is that on  some textFrames, the indesign server freezes when executes the  box.fit(FitOptions.FRAME_TO_CONTENT) command, so I have to restart the  indesign server to retry.

 

Afer this I opened the indd file with  normal Adobe Indesign CS4 Client and then I executed manually from Adobe  Indesign the Fit to content command on the box, and also the Adobe  Indesign CS4 6.0.6 client freezes and crashing with this report:

szAppName : InDesign.exe     szAppVer : 6.0.6.622     szModName : hungapp    
szModVer : 0.0.0.0     offset : 00000000  

 

this seems to be a bug of indesign ?

Any ideas?

Indesign Server Critical Bug

$
0
0

Hello

I have 10 indesign server istances running on my server. They stay up 24/24 hour. But often all they get blocked with this error:

 

Cannot create new file. Please close one or more Adbobe Indesign Server documents or libraries or books......

 

and this error block all istances (even it happens only on one of them) blocking all background work they have to do.

 

This is a big critical bug for me, since it stops all background work for our clients.

 

We are using Indesign Server CS5 7.0.3 x64 on Windows 7 Professional 64-bit, Intel Xeon X5670, 24 GB RAM.

 

I hope Indesign Server Developers get involved.

 

Thank you.

 

AlbanX

Passing arguments to jsx file externally

$
0
0

Hi,

 

I have a script (javascript, jsx) that will parse content from InDesign (.indd) documents using InDesignServer. I want to be able to pass the filename, as well as the path of the indesign file as parameters to this script.

 

I have tried this vbs solution:

 

==========================

runjavascript.vbs

-------------

Option Explicit

On Error Resume Next


Dim appRef

Dim javaScriptFile


Set appRef = CreateObject( "Photoshop.Application" )


appRef.BringToFront


javaScriptFile = "C:\myscript\test.jsx"


call appRef.DoJavaScriptFile( javaScriptFile, Array(Array("one","two"), Array("three")), 1)


------

DoJavaScriptFile takes 3 params, the first being the script, the 2nd is an array of params. In my example, you can have an array of arrays of params. When you receive params from javascript side, it will see param 0 as (one, two), param 1 is (three). For most people, simple case is fine: eg:


call appRef.DoJavaScriptFile( javaScriptFile, Array("one","two", "three"), 1)


The javascript would look like this:


test.jsx

---------

#target photoshop


if (arguments.length > 0)

alert("ARGUMENT 0 = " + arguments[0]);


----

from the jsx side, there's a magical variable called "arguments" of array type. When you pass variables in, the 1st one will be arguments[0], the next one would be arguments[1], and so forth.


To execute this from command line, (assuming everything lives in c:\myscript):


cscript c:\myscript\runjavascript.vbs

 

 

==========================

 

This approach does not work, because I get an error from the CreateObject function, it cannot create an object for InDesignServer.Application.

 

Ideally, I want to be able to pass arguments from a python script to a jsx script.

 

Setup:

InDesign CS4 .indd documents

Win2k8 server

JavaScript (via ExtendScript toolkit)

InDesignServer CS5.5 (32bit)

SmartLayout plugin


link to InDesign cs5 server trail version

$
0
0

Hi,

 

Can anyone provide me the link to download the trail version of InDesign CS5 server.

 

Thanks,

Gopal

rectangle.place (Placing Image) - InDesign vs InDesignServer

$
0
0

Any help or suggestions or even guesses appreciated here. Thanks!

 

I have a script that correctly places images in tagged rectangles via script in InDesign, the script then exports to PDF. All is well.


When I run the same script with the same image path folder structure in InDesignServer, the exported PDF does not show the 'placed' images. I'm getting no errors in my console.


Early in the script I have;

myInDesign.imagePreview = True


I place the images with;

myRectangle.Place myFile, False

myRectangle.fit 1668247152

myRectangle.fit 1667591779

for each myItem in myRectangle.items

     myItem.itemLink.unlink

next



I've tried it with and without the .unlink code (an attempt to force embedding of the images)


In all other aspects the script works the same on ID as IDS. I'm starting my ID CS6 server with InDesignServer -previews


I suspect I'm missing something with the PDF export preferences, but have no idea why it's working on ID and not on IDS.


Any help greatly appreciated.

 

(I have cross-posted this in the InDesign Forum. I will remove one or the other if answered)

Adobe InDesign CS5 Server SDK - libraries JAVA

$
0
0

trying with helloworld.java in ids cs5 server sdk.

the library com.adobe.ids.sdk.utils.* cannot be imported.

any idea how/from where to import it?

 

are there more libraries available?

Why can't I download Indesign CC? It keeps saying I have a server error.

$
0
0

I just purchased the cloud...I have been trying to download Indesign CC and everytime it asks me to login, I do as such, and then it tells me that an Unknown Server has occured. This has been going on for quite some time...is there something wrong with my compatibility? Is there a direct link that can be provided to download Indesign? And I am not talking about the trial. Is my fire wall blocking it or what? Because I have purchased the cloud and I feel like I'll be wasting my money if I can't even download anything. If there is another way to download the programs, can I do that without accessing the website?

InDesign Server CC 2014: Page.duplicate fails

$
0
0

Hi all,

 

the following code is not working on our CC server (10.0.0.70). After calling that the process is noch responsing anymore:

 

var copyPage = app.documents[0].pages[page];

copyPage.duplicate(LocationOptions.AFTER, copyPage);

 

Is that problem known? On our CS4 server this is working fine.

 

Thanks for your help!

Mirko

InDesign Server CC 2014 Trial - how to activate the tiral license

$
0
0

Hi everybody,

 

I just downloaded the trial of the InDesign Server CC 2014 for MacOS X but I do not find the correct command to activate the trial license.

I always get the following error: ERROR [server] Adobe InDesign Server is not properly licensed and will now quit.

 

What shall I do to activate the trail?

 

TIA & BR

 

-- Stefano

does adobe charge maintenance on adobe indesign server subscription model?

$
0
0

does adobe charge maintenance on adobe indesign server's subscription model?


Script for Data merge InDesign CC server 2014

$
0
0

I am executing following script for data merge operation. Not generating any error, But neither it merge data from csv data source into new indd file.

 

var myFile = new File("E:/*.indd");

 

var myDocument = app.open(myFile);

Script for Data merge InDesign CC server 2014

with (myDocument.dataMergeOptions) {

linkImages = true;

removeBlankLines = false;

createNewDocument = true;

documentSize = 100;

} // (end of dataMergeOptions)

 

myDocument.dataMergeProperties.selectDataSource(new File ('E:\Employees.csv'));

myDocument.dataMergeProperties.mergeRecords();

 

myDocument.save(new File("E:/*indd"));

myDocument.close ();

 

 

I am working on InDesign CC Server 2014 with ExtendScript toolkit.

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

IDML to PDF using Java API

$
0
0

Hi,

 

   I have created an IDML with template through the Indesign GUI and have created the respective XML files(story,designmap,etc) and able to make the changes in it and display that in the UI. This is fine, my requirement is to use the Java API to pass the .idml file (which holds the template) and creates a .PDF out of this. I am unable to get any source code samples for this, this should be done through Java API and no scripting is allowed. I went through the IDML spec, but doesn't have any source code samples for the requirement. Hence, please do provide the source code samples to achieve this using Java API. Expecting positive response...

 

Thanks

Rithu

Reinstall InDesign Server Trial

$
0
0

Yesterday I installed the trial version of InDesign Server (CS5.5) on a Windows 7 Professional box. I wanted to test it in an automated publishing system and have seen where others have made it work in this environment. I couldn't get the management console snap-in to work and the only advice I could find on the forums was to try uninstalling then reinstalling. The uninstall seemed to run smoothly but now when I try to install the trial I get and error. I looked at it with Adobe SupportAdvisor and it says:

 

cspid_83572r4:Error committing command when installing - Creative Suite 5.5

 

When I click the link for details it takes me to Adobes site and says:

Issue

The following error appears in your Adobe Creative Suite 5 or CS5.5 product installer log  file:

  • Error committing command ARKCAPSWritePayloadDataCommand

Solution

This error occurs if you reinstall Photoshop CS4 when both Photoshop CS5 or CS5.5 and Photoshop CS4 are already installed on your system. To successfully reinstall Photoshop CS4, first remove Photoshop CS4, and then reinstall it.

 

I'm not trying to install Photoshop. Does anyone know what's causing this?

 

Thanks.

Entry point __crtCreateSymbolicLinkW could not be located in the dynamic link library MSVCR110D.dll

$
0
0

We have installed Indesign CC Server 2014 Debug on a 2008 R2 Windows Server for testing. This is the version we were told we had to use in a development environment. The installation went smoothly, however, when I try t

start the service with SOAP enabled (InDesignServer -port 12345) I get the following attached error. Actually I get the error anytime I try to start the service from the command prompt with or without the -port parameter. The service will start from Windows Service Manager, however, I does not seem to take the -port parameter in the options dialog.

 

 

IndesignServer_Soap_Startup_Error.jpg

Viewing all 20709 articles
Browse latest View live


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