Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make background page objects aware of page variables #3104

Open
vollstock opened this issue Oct 13, 2022 · 3 comments
Open

Make background page objects aware of page variables #3104

vollstock opened this issue Oct 13, 2022 · 3 comments

Comments

@vollstock
Copy link

This example shows a techical drawing with a data field.
This is my literal use case. It utilizes the global standard placeholders (e. g. %pagenumber%).

However, I often find usecases where I want to add additional fields on a per page basis like e. g. a document status (draft, final, etc.) or author. This is similar to feature request #480 which asks for document-wide placeholders which could be useful, too but are not a necessity for background pages as in this case static text works just fine.

The example given in #480 could work wonderfully, if only background page objects could use page variables.

Example

  • A text field on a background page uses variable %author%.
  • On the background page the variable is set to Alice.
  • Each page will now show the name Alice.
  • Some pages however may define a different author. Still using the background page object but overwriting the placeholder value.
@stale
Copy link

stale bot commented Apr 11, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

@stale stale bot added the wontfix label Apr 11, 2023
@stale stale bot closed this as completed May 2, 2023
@davidjgraph davidjgraph reopened this May 5, 2023
@stale stale bot removed the wontfix label May 5, 2023
@jgraph jgraph deleted a comment from ClintHaerinck May 14, 2023
@jgraph jgraph deleted a comment from josephgarnier May 14, 2023
@antoinekh

This comment was marked as duplicate.

@davidjgraph
Copy link
Collaborator

Locking issue due to +1 spam. https://hackernoon.com/45-github-issues-dos-and-donts-dfec9ab4b612

@jgraph jgraph locked as spam and limited conversation to collaborators May 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants