Search found 18 matches

by cedporter
Fri Apr 02, 2021 4:00 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Setting Linebreaks around elements via plugin
Replies: 3
Views: 1313

Re: Setting Linebreaks around elements via plugin

Thanks, Radu! We knew of the ability to import a global options xml file, but it overrides the users settings. It appears by setting it via setGlobalObjectProperty() we can set the default, and the user can override it if they so choose, hence our preference to use the latter approach.
by cedporter
Thu Apr 01, 2021 3:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Setting Linebreaks around elements via plugin
Replies: 3
Views: 1313

Setting Linebreaks around elements via plugin

In the UI, one can use Preferences > XML > Element Spacing > Line Break tab to add elements to a list to insert line breaks before and after. For many Preferences, we have used the approach described in the documentation of saving our preferences to an external file, finding the string name that des...
by cedporter
Mon Mar 22, 2021 3:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Multiple CustomAttributeValueEditor
Replies: 2
Views: 1073

Re: Multiple CustomAttributeValueEditor

Thanks, I realized this was the approach I should use over the weekend. Will do so.
by cedporter
Fri Mar 19, 2021 7:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Multiple CustomAttributeValueEditor
Replies: 2
Views: 1073

Multiple CustomAttributeValueEditor

I have implemented a CustomAttributeValueEditor for one attribute, and following the example in the SDF project sample, I am able to use it in our framework. Maybe I am misunderstanding the use case of this class, but I don't immediately see how to add additional CustomAttributeValueEditors for othe...
by cedporter
Fri Mar 19, 2021 7:22 pm
Forum: Common Problems
Topic: Hide the "Grid" View button
Replies: 5
Views: 2718

Re: Hide the "Grid" View button

Thanks, we'll take a look at this.
by cedporter
Thu Mar 18, 2021 12:01 am
Forum: Common Problems
Topic: Hide the "Grid" View button
Replies: 5
Views: 2718

Re: Hide the "Grid" View button

This is a very old thread, but did you ever implement a way to hid the Grid View button? We would definitely be interested in that feature, for all users. Ideally, something like a new option for pluginWorkspaceAccess.setGlobalObjectProperty() for suppressing a view would be a welcome addition.
by cedporter
Thu Mar 08, 2018 11:05 pm
Forum: XQuery
Topic: XQuery not producing doctype declaration
Replies: 3
Views: 5061

Re: XQuery not producing doctype declaration

Oh that's quite unfortunate. Is there no way to generate the doctype declaration? I've even tried to pass it through XSL using the BaseX transform function, which also works in BaseX, but not in O2.
by cedporter
Wed Mar 07, 2018 3:17 pm
Forum: XQuery
Topic: XQuery not producing doctype declaration
Replies: 3
Views: 5061

XQuery not producing doctype declaration

I have configured an XQJ connection configured to a BaseX server running locally. When I run the following code block, the XML and doctype declarations do not appear in the output. Running the same query in the BaseX GUI, I do produce both. Is there a way to generate these in my output via oXygen? d...
by cedporter
Wed Oct 11, 2017 6:26 pm
Forum: Common Problems
Topic: Custom InsertFragementOperation dropping "/"
Replies: 2
Views: 1785

Re: Custom InsertFragementOperation dropping "/"

Disregard, complete user error on my end. I had a second possible action contingent on an xpath statement. That's the one that was being used, not the one I kept editing. Sorry for the confusion.
by cedporter
Tue Oct 10, 2017 8:01 pm
Forum: Common Problems
Topic: Custom InsertFragementOperation dropping "/"
Replies: 2
Views: 1785

Custom InsertFragementOperation dropping "/"

I have a custom action InsertFragmentOperation with the fragment shown below. For some reason the "/" in the formulas are disappearing when the fragment is inserted. Is there a way to escape the "/" character or something to avoid this dropped character? <formula-group> ${ask('Fo...
by cedporter
Wed Sep 20, 2017 5:12 pm
Forum: Other Issues
Topic: oXygen 17.1 OpenInSystemAppOperation resourcePath question
Replies: 2
Views: 1913

Re: oXygen 17.1 OpenInSystemAppOperation resourcePath question

That fixed it. I hoped it was just a question of syntax. Thanks!
by cedporter
Tue Sep 19, 2017 6:50 pm
Forum: Other Issues
Topic: oXygen 17.1 OpenInSystemAppOperation resourcePath question
Replies: 2
Views: 1913

oXygen 17.1 OpenInSystemAppOperation resourcePath question

I'm trying to launch a word doc using the OpenInSystemAppOperation action, and nothing's happening when i provide it the following resourcePath: 'P:/04 Divisions/Global Information Services/PUBS/12 Publications Forms/FCC Style Guide.docx' I've tried escaping the spaces. I've tried appending 'file://...
by cedporter
Tue Aug 15, 2017 3:36 pm
Forum: General XML Questions
Topic: Schematron assertions for specific words/phrases and quickfix help
Replies: 4
Views: 3519

Re: Schematron assertions for specific words/phrases and quickfix help

Thanks, I figured out that stringReplace could insert elements yesterday, so we reached the same conclusion!

To my other question, is there any way to make a template for this, and supply a list of words rather than creating separate assertions for numerous words individually?
by cedporter
Mon Aug 14, 2017 8:38 pm
Forum: General XML Questions
Topic: Schematron assertions for specific words/phrases and quickfix help
Replies: 4
Views: 3519

Schematron assertions for specific words/phrases and quickfix help

We have several common words or phrases we general wrap with <i> when they appear in text. I am trying to write a schematron rule to enforce this rule and suggest a quick fix to wrap the word or phrase in <i>. The following code works, but the warning underline underlines the beginning of the entire...
by cedporter
Tue Aug 08, 2017 3:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom Action to launch transformation Scenario
Replies: 5
Views: 3132

Re: Custom Action to launch transformation Scenario

Ah, yes, that is helpful! Just as a general feature request, it would be extremely useful to be able to design custom forms to collect multiple ask's at once or serve as an interface for performing various custom actions. Something similar to what XMetaL provides with their form builder tool. I'm aw...
by cedporter
Mon Aug 07, 2017 2:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom Action to launch transformation Scenario
Replies: 5
Views: 3132

Re: Custom Action to launch transformation Scenario

For our purposes, the values change. It drives things like volume and issue number in the header of a composed document. The intent was to create a more user friendly interface using the ask() editor variable to prompt the user for inputs and then launch the transformation with those values.
by cedporter
Fri Aug 04, 2017 6:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom Action to launch transformation Scenario
Replies: 5
Views: 3132

Custom Action to launch transformation Scenario

In oXygen 17.1, I see the operation ro.sync.ecss.extensions.commons.operations.ExecuteTransformationScenariosOperation exposed for a custom action, but it doesn't appear to allow for me to set any parameters for the transformation. Is there a way to pass parameters to the XSL when launching a transf...