Jump to content

Search the Community

Showing results for tags 'external data'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Start Here!
    • News
  • Software-Related Talk
    • Documentation
    • Getting Started
    • The JavaScript Library
    • FusionPro® VDP Creator
    • FusionPro® VDP Producer
    • FusionPro® VDP Server (API)
    • FusionPro® Expression®
    • MarcomCentral®
  • Support
    • Issues, Questions, Etc.
    • Digital Workflow Documents
    • Fonts
  • Off Topic
    • Customer Polls
    • Job Board (Moderated)
    • Reviews, Rants, and General Musings

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


FusionPro VDP software version


OS


Acrobat Version


Homepage


ICQ


AIM


Yahoo


MSN


Skype


User Title

Found 4 results

  1. We have a document that has a declared data file linked. Within the same document, we have page calling an external CSV for the flyout. When we compose the document, we would like the pages to be created in the order of the external document and not the linked data document. Is this possible? Between the two data sets, we have a unique identifier to match the rows.
  2. Hello All, I found a post from Dan that got me 40-50% of the way to my goal, but I am struggling as I am a total Noob. I am working with a project that has up to 1200 different versions/ possible pages, front and back. Each page can have up to 50 variables, all in various locations. I am trying to make this as simple as possible, and found this code from a previous post which showed promise. data = new ExternalDataFileEx('/path/to/data.csv',','); for (var i=1; i<=data.recordCount; i++) { var frame = FindTextFrame(data.GetFieldValue(i, 'Frame')); var att = ['width','height','x','y']; for (var n in att) if (a = data.GetFieldValue(i, att[n])) frame[att[n]] = a; frame.content = RawTextFromTagged(CreateResource(data.GetFieldValue(i, 'content')).content); } Catch is that I am trying to use Formatted Text Resources, to make the fonts easier to manage, in the content location. All I can think to do is create a huge amount of Switch statements that control the FTR being matched to the Version codes I have and then calling that rule in the 'frame.content' part of this code. Sorry if I am losing anyone, this is not an easy task and has so many moving parts.
  3. Hi- I need to be able to create a dynamic index from a provider listing that's built from external data with multi-line records. I need the index to report back the page that the Provider is listed on in the listing part (code below). Seems like I should use cross reference tags, but I can't figure out how to apply that given that I'm looking for a specific provider's name among hundreds that are listed in the directory by specialty. The index is to be displayed in alphabetical order, show the provider's name, specialty and page number that it appears on. Any ideas? This creates the provider listing just how i want it - Now I just need to create the index and populate the page that they fall on. var result = ""; Provider = new ExternalDataFileEx("providers.xlsx", "Excel", "providers"); var rows = Provider.SortBy("SPECIALTY").FindRecords("Adult Companion"); var content_fields = ["last_name","address1","address2","address3","city","state","zip","phone","hours","URL"]; for (ri = 0; ri < rows.length; ri++) { result += "<p>"; // loop through each value of content_fields array for (i = 0; i < content_fields.length; i++) { // check to make sure there is a value for the content field if (Provider.GetFieldValue(rows[ri], content_fields[i]) != '') { if (content_fields[i] == 'last_name') { result += "<b/><color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ "</b><br>"; } else if (content_fields[i] == 'address1') { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ "<br>"; }else if (content_fields[i] == 'address2') { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ "<br>"; }else if (content_fields[i] == 'address3') { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ "<br>"; }else if (content_fields[i] == 'city') { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ ", "; } else if (content_fields[i] == 'state') { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ " "; }else if (content_fields[i] == 'zip') { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ "<br>"; }else if (content_fields[i] == 'phone') { result += "<color name=black>" + "Phone/Telefono: " + Provider.GetFieldValue(rows[ri], content_fields[i])+ " <br>"; }else if (content_fields[i] == 'hours') { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ "<br>"; }else if (content_fields[i] == 'URL') { result += "<color name=black>" + "URL: " + Provider.GetFieldValue(rows[ri], content_fields[i])+ "<br>"; } else { result += "<color name=black>" + Provider.GetFieldValue(rows[ri], content_fields[i])+ "<br>"; } } } result += "<br></p>"; } return result;
  4. Hello, I'm new to Fusion Pro and MarcomCentral and am looking for help configuring an existing menu. We currently have a variable menu product that will except an external data file to populate menu items into variable fields. What I'm looking to do is set up the menu so that all the user has to do is type in a key, for example, a store number in the menu builder on the portal, and this would call the info up to populate the menu. Any info and direction would be greatly appreciated.
×
×
  • Create New...