Jump to content

Another crazy idea to try and make work...


Recommended Posts

So I have a requirement to make some icons show/hide against revisions in our title block based on the data of that revision.

We'll use the Recipient field as we don't use that for anything.
 

Our current revision box in our TBB looks like this. I will add an extra column for 'Departments' - effectively showing which departments had changes in that revision.

 

If Recipient contains the string 'PA' I'll have our PA department logo show, and/or if it contains the string 'LX' it will show the LX department logo as well. These will be just 4 static PNG images.


My current best idea is to have a custom PIO on top of the TBB that can get the revision data from the five latest revisions and render the logos in the right places.

 

But if there's a smarter way to do this without a custom object then I'd be curious how others would attack it.

 

Thanks! 

 


image.thumb.png.65105ddb56f88725e08c25f9c6c9b022.png

Link to comment
1 hour ago, twk said:

Interesting Idea. You can place the temp images on a layer somewhere and reference in with the Image function.

 

Nice, thank you.

 

I've gotten this far, where I can search for the required substrings, but when I replace the 'PA' yes value with the IMAGE function in a database row, it won't return the image, presumably as using the IMAGE function in a database row will always try and return the image of that object row in the database.

 

image.thumb.png.35cba7b801e79ec18f95e9640ebcec6d.png

 

I think what I need to do now is either find a way for a spreadsheet row to reference the database results (i.e. Cell E8 references D4.1) which I'm not sure is possible, or avoid database rows completely. To do it entirely in spreadsheet cells, I'll need to try and find a way to access the Revision records from sheet number L1, as I'm currently doing this.
 image.thumb.png.1028b70586cb5ef3c4e75a6455fb76ec.png

 

Will have another go tomorrow. Cheers!

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...