Accessing $$SearchTemplate by form name

285 pts.
Tags:
Domino 6.5
Domino Designer
Lotus Forms
Lotus Notes
Hey folks -- I'm trying to add a 'breadcrumb' trail via a subform to a number of documents. In the subform, I use a <computed value> to determine what page the user is on, and then load in the appropriate breadcrumb as needed. I'm trying to add the subform to a SearchTemplate, but not sure if my logic is correct. I've been doing something like this... @If(@Contains(path_info;"createContent");"Create Content"; form="$$SearchTemplate for searchMyContent";"Search > My Content"; "") But that second part doesn't seem to be working. I've tried just using "searchMyContent", as the variable, but that isn't working either. Does anyone have any other suggestions? Thanks -MrG.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Have you tried referencing the value of the $$ViewBody field?

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Brooklynegg
    Create a Form field in the form. Display the field on the page. Use the value displayed on the page for your code. Let me know if this helps.
    3,845 pointsBadges:
    report
  • Mrg
    Stiletto -- I'm not sure how the $$ViewBody field works. I read the help and other docs on the web, but from what I understand, it won't display on the web. Not I'm not sure if that means it won't work in Formula or not. Brooklynegg -- I did try what you said, and in my breadcrumb subform did something like this: <p class="breadcrumb"><Computed Value></p> In the Computed Value, I tried this formula: myText = $$Viewbody; myText No luck... I did the same idea using a Field instead of a Computed Value. Still nothing. Even if I should be using a field, what type/state should I be using? Computed? or Computed for Display? Not sure if it makes a difference, but all the code above is in a PassThru HTML. Actually, now that I re-read this, are you saying that in the various $$ViewTemplate forms, I should include a hiddenField with the name of the form, and then read that field from my subform to output the breadcrumb? I think that makes sense, but wouldn't that be a whole lot more work, and less dynamic?
    285 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following