Tom,Good to know that it's the mxd documents that is used, but it's supposed to work when using .msd documents if there's also a corresponding .mxd document? right?I do have both mxd and msd, and it did work before the annotation fixes on mapservices without annotations, but now it doesn't.And concerning the layout elements I meant the elements that comes from the flex widget, not anything in my mapservice. That also worked before but not anymore, it isn't even possible to get a portrait PDF. I'm attaching two pdf examples one from before and one from today, and I think you'll get what I mean.I tried to use fiddler to see the URL and all parameters that are sent from the flexWidget, I'm not familiar with fiddler but I think theese are the parameters in the URL:mapExtent {"xmin":1459779.8223054777,"ymin":6549481.999576666,"xmax":1459879.8223054777,"ymax":6549625.499576666,"spatialReference":{"wkid":3021}}
layoutElements [{"symbol":{"type":"pchNorthArrow","size":48},"visible":true,"name":null,"geometry":{"x":0.5,"y":0.5},"yOffset":0,"xOffset":0,"anchor":"bottomleft"},{"symbol":{"textSymbol":{"borderLineColor":null,"xoffset":0,"type":"agsJsonSymbol","angle":0,"yoffset":0,"text":null,"font":null,"color":{"green":0,"alpha":255,"blue":0,"red":0}},"type":"pchTextElement","text":"Title"},"visible":true,"name":"myTitle","geometry":{"x":10.5,"y":29.2},"yOffset":0,"xOffset":0,"anchor":"topmid"},{"symbol":{"barHeight":5,"type":"pchScaleBar"},"visible":true,"name":"myScaleBar","geometry":{"x":0.5,"y":0.5},"yOffset":0,"xOffset":0,"anchor":"bottomleft"},{"symbol":{"textSymbol":{"borderLineColor":null,"xoffset":0,"type":"agsJsonSymbol","angle":0,"yoffset":0,"text":null,"font":null,"color":{"green":255,"alpha":255,"blue":255,"red":255}},"type":"pchTextElement","text":"�?© copyright pch"},"visible":true,"name":"myCopyRight","geometry":{"x":10.5,"y":0.5},"yOffset":0,"xOffset":0,"anchor":"bottommid"},{"symbol":{"numberFormat":{"roundingOption":0,"roundingValue":3},"pageUnitLabel":"","mapUnitLabel":"","mapUnits":8,"type":"pchScaleText","backgroundColor":{"green":255,"alpha":255,"blue":255,"red":255},"pageUnits":9,"separator":":","style":0},"visible":true,"name":null,"geometry":{"x":0.5,"y":29.2},"yOffset":0,"xOffset":0,"anchor":"topleft"}]
mapElements []
f json
printOutput {"mapRotation":0,"width":21,"height":29.7,"resolution":100,"pageUnits":8,"toRemoveLayoutElements":["*"],"format":"pdf","exportSettings":null,"borderWidth":[0.5,0.5,0.5,0.5]}
mapServices [{"name":"BGKtest_mxd","alpha":1,"visibleIds":"0,1,2,5,6,7","type":"AGS","url":"http://10.202.101.108:8399/arcgis/rest/services/BGK/BGKtest_mxd/MapServer"}]
/Mattias