Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Is it possible to specify default text for an element?

Guest
Oct 23, 2013 Oct 23, 2013

Copy link to clipboard

Copied

Hi there,

I'm currently working a new EDD and have run into something that hasn't cropped up for me before. Is it possible to specify the default text contained in an element?

I can't find anything, and autoinsertions only seems to allow adding element nodes, not <TEXT>.

For example, I'd like to have an IntroductionTitle element which when inserted into the document, defaults to the phrase "Introduction", but can be changed just by typing a new title in.

If anyone has any ideas, it would be much appreciated.

TOPICS
Structured

Views

491
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 23, 2013 Oct 23, 2013

Copy link to clipboard

Copied

Hi...

I'm not aware of any way to do that using default FrameMaker techniques. Other than setting up the associated paragraph tag with a prefix or suffix (which wouldn't be easily changed), I don't think it's possible.

<sales-pitch>

I do offer a plugin called Structure Snippets that can provide this type of functionality ..

     http://leximation.com/tools/info/structuresnippets.php

You might download the 30-day trial and give it a whirl.

</sales-pitch>

Thanks,

...scott

Scott Prentice

Leximation, Inc.

www.leximation.com

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 24, 2013 Oct 24, 2013

Copy link to clipboard

Copied

Hi Rinkwraith,

This could be done with a short ExtendScript.

Russ

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 24, 2013 Oct 24, 2013

Copy link to clipboard

Copied

Hmm. That could be an option too - cheers Russ.

I've scripted everything else at one time or another so maybe I can deal with Framemaker. 🙂

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 24, 2013 Oct 24, 2013

Copy link to clipboard

Copied

LATEST

Since Scott brought it up, let me add a resounding endorsement for Structure Snippets. I lean on it heavily myself.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 24, 2013 Oct 24, 2013

Copy link to clipboard

Copied

Thanks Scott. I'll take a look at that - had a brief glance and it looks interesting.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines