Publishing

Build 1501 on 14/Nov/2017  This topic last edited on: 20/Nov/2015, at 14:29

Publishing: pass object ids to children destinations with auto-fill

GN4-3631

When the GN4 objects are published on the parent pubDest, these objects are automatically filtered by the auto-fill stylesheet configured into the children destinations (pubTemplate.autoFillXslt attribute). This stylesheet re-generates the entire 'objs' attribute of the children pubDests; this means that the children 'publishWF' workflow receives all the objects which are stored into the 'objs' attribute, also the ones that are already published.
Now GN4 passes to the children pubDests the list of the objects that are actually being published: this way, the children workflow can avoid re-sending all the already published stuff to the integrated web services (like VirtualCom).
These are the new parameters automatically passed to the publishWF:
* "_added": the list of new items added to the pubDest (as comma-separated string)
* "_removed": the list of the items removed from the pubDest (as comma-separated string)
* "_publishedAgain": the list of the items already published that have been re-published in the pubDest (as comma-separated string)
In this [http://forum.teradp.com/topic.asp?whichpage=1&TOPIC_ID=889#4054 forum post] is attached a simply workflow which reads this new parameters, compare their values with the objects filtered by the autofill stylesheet and generates the list of ids to use into the workflow.
So, if you want to process only the currently publishing objects, put this code at the beginning of your publishWF and then process the ids in the 'objsToProcess' list (instead of Context.ObjectIds).

Modified date: 13/10/2015 12:17:40 - P4 Changelist: 78846 - From build: 2.2.2691.x (T)

 

[82] Fred4: publishing: web preview doesn't refresh correctly

GN4-3536

the command call a surface refresh: in these cases the web preview should reload the entire form because one view parameter is changed.
fixed.

Modified date: 17/09/2015 16:12:33 - P4 Changelist: 78552 - From build: 2.2.2665.x (T)

 

Ted4: wrong Web Preview internal navigation

GN4-3508

Sometimes internal preview links are not disabled, causing wrong navigation. Now fixed except for multi-tabbed VirtualCom previews.

Modified date: 04/09/2015 14:37:49 - P4 Changelist: 78403 - From build: 2.2.2652.x (T)

 

Ted4: (pubdest) xml/web combo box not working in preview

GN4-3391

The "xml/web" combobox was not working in web preview.

Modified date: 15/07/2015 16:16:09 - P4 Changelist: 77728 - From build: 2.2.2601.x (T)

 

Ted4: web preview as mobile

GN4-3362

A new Web Preview option (name: "mobile") available in top combo-box will allow user to see how the site will be displayed on a smartphone or tablet, if supported.
The sent user agent is "Windows Phone 8.1" default, in this case.

Modified date: 15/07/2015 16:09:40 - P4 Changelist: 77725 - From build: 2.2.2601.x (T)