Literature Item URL in Web App Field

Greetings,
I'm building a web app which allows the client to create items linking to literature items.  One question, how do I tell the client to get the literature item url?
For example, if the literature item linked to a "House" PDF literature item, I have a field called "url-house":
<strong>{tag_name_nolink}</strong>
<ul>
    <li><a href="{tag_url-house}">House</a></li>
    <li><a href="{tag_url-senate}">Senate</a></li>
</ul>
Thanks!
Brian

Thanks Liam,
I'm curious about URL itself now, see the question I asked here: http://forums.adobe.com/message/4514423#4514423
I suppose another way to get the URL would be to mouse over the literature item, note the ID number and place it in the URL convention mentioned in the KB article, the other discussion mentions.

Similar Messages

  • Web App field display

    I have a Web App with a field "Categories" set to "Listbox List".
        Web Apps > Fields
        Field Type: Listbox List
        List Items (separate by commas): item1,item2,item3…
    I want to show the  selected items in a web page.
    The problem here is that, when there is more than 1 category it shows the list so:
    item1,item2,item3…
    without any space after the comma.
    I tried to insert spaces or hard spaces between the items in the field definition, but it does not work.
    Any way to accomplish this without javascript?

    Thank you Liam. Sorry for my extra long disappearance…
    I thought about a simple workaround: to just add an extra field (of text type) with the same info contained in the list field (a duplication of data, actually)...
    Any advice against this solution?

  • Liquid: How to filter on specific items in a web app collection

    I am trying to write some logic in Liquid that will show/hide certain html based on the value of a specific property of the webapp.
    I am trying to limit users to being able to create only one item of each type based on this filter.
    So in this case, the user has the option to create a 1 Bedroom Cabin, 2 Bedroom Cabin, 3 Bedroom Cabin or a 4+ Bedroom Cabin. I want them to be able to create only one of each type of cabin. I am pretty sure if/else statements are not a good way to check for this as I would be checking not only if the certain cabin type exists, but also for each situation of if say they have created a 1 Bedroom Cabin and a 4+ Bedroom Cabin. The way I am currently trying to accomplish it, I would have to write a ton of If/Else statements to check for all of these possibilities.
    Also, I notice that this code only checks if the type exists. So, if there are 4 web app items, all of these if/then statements below will evaluate to true. This is not the behavior I am looking for.
    Is there a different filter in Liquid to accomplish what I am trying to do? It seems as though my ability to iterate and do custom logic on collections is a bit limited right now in the current system. Any help would be greatly appreciated. Thanks.
    {module_webappscustomer id="28157" filter="all" render="collection" collection="listingsApp" template=""}
    <select name="CAT_Custom_1" id="CAT_Custom_1" class="cat_dropdown">
        <option value=" ">-- Please select --</option>
         {% for item in listingsApp.items %}
              {% assign accomodation = item.['Accommodation Type'] %}
              {% if accomodation == "1 Bedroom Cabin" %}
                   <option value="2 Bedroom Cabin">2 Bedroom Cabin</option>
                   <option value="3 Bedroom Cabin">3 Bedroom Cabin</option>
                   <option value="4&#43; Bedroom Cabin">4&#43; Bedroom Cabin</option>
              {% endif %}
              {% if accomodation == "2 Bedroom Cabin" %}
                   <option value="1 Bedroom Cabin">1 Bedroom Cabin</option>
                   <option value="3 Bedroom Cabin">3 Bedroom Cabin</option>
                   <option value="4&#43; Bedroom Cabin">4&#43; Bedroom Cabin</option>
              {% endif %}
              {% if accomodation == "3 Bedroom Cabin" %}
                   <option value="1 Bedroom Cabin">1 Bedroom Cabin</option>
                   <option value="2 Bedroom Cabin">2 Bedroom Cabin</option>
                   <option value="4&#43; Bedroom Cabin">4&#43; Bedroom Cabin</option>
              {% endif %}
              {% if accomodation == "4 Bedroom Cabin" %}
                   <option value="1 Bedroom Cabin">1 Bedroom Cabin</option>
                   <option value="2 Bedroom Cabin">2 Bedroom Cabin</option>
                   <option value="3 Bedroom Cabin">3 Bedroom Cabin</option>
              {% endif %}
         {% endfor %}
    </select>

    If I understand your intent, I’d loop once over listingsApp.items, setting a boolean to represent the ‘already used’ state of each accommodation type. Then I could use those to control the options:
    <select>
        {% unless hasAlreadyUsed1BRC -%}
            <option value="1 Bedroom Cabin">1 Bedroom Cabin</option>
        {% endunless -%}
        {% unless hasAlreadyUsed2BRC -%}
            <option value="2 Bedroom Cabin">2 Bedroom Cabin</option>
        {% endunless -%}
    </select>

  • Looping through items in a web app

    Hi there,
    On this site - http://www.dandmrural.com.au/
    Where it reads Latest news, I have each news piece setup as a content holder with a piece of javascript looping through them.
    I want to modify this to use Web apps so the client can add and remove items themselves and have them looping through as they do now.
    Using a Webapp I have access to {module_webapps,20117,a} which lists out all the items and {module_webappscount,20117} which gives me a count of the number of items.
    Can someone please give me some pointers on how to go about migrating from a content holder setup to using webapps.
    Thanks, Ben

    Your first step should be to customize the web app item list layout to match how each item is rendered in the shared content holder. From there, you should recreate each news item as an individual web app items. Finally, replace the content holder with the web app item list module ( {module_webapps,20117,a} ). It appears that the script that is responsible for handling the looping can be found here and is not relying on any sort of fixed number to control the transitions. Instead, it simply is looking for any divs which have an id that begin with "content-" and fades them in & out in whatever order it finds them until it reaches the final item and then starts over.
    Additionally, I would recommend adding some sort of incremental counter to your div id within your list template. Currently, the divs which contain each of the three news items share the same id attribute of "content-" which is not something you want.
    Something like this in your list layout should do the trick:
    <div id="content-{tag_counter}">

  • How do I add web app tags to web app fields and have them render correctly?

    - I have a webapp field entitled "Status".
    - I have a webapp fields entitles "Status-Listed".
    - I want to have a tag in the description field that is {tag_Status-{tag_Status}} to where if the Status field is set to Listed the result will be {tag_Status-Listed} and will return the value in the Status-Listed field.
    - It works, and returns the value:
    <h2>Listed</h2>{tag_county} County<br />{tag_firstname} {tag_lastname} | {tag_address1}, {tag_address2} {tag_city}, {tag_state} | {tag_zipcode} | {tag_phone}<br />{tag_status} | <em>
    - However, this will display as the text entered when the tag is rendered from Design view. If I place the code in the HTML view it will render each tag correctly. What I am seeking to do is apply four different types of stylings to the listing, as in Listed, Not Listed, Rejected, No Answer, etc. That way in my directory I can have the status determine the type of look each listing has based upon the Status field.
    Any thoughts from the community?

    I am not sure I follow what you are explaining, but, I will try to give you an idea. Wrap all of your HTML in a div with a class of {tag_Status-{tag_Status}}. you can then style as necessary. However, if this involves hiding certain elements, then I would suggest using a custom template for each type of listing.

  • Is it possible to hide empty list items in a web app?

    Hi,
    as you can see on the here included image, below "Ihr Profil", there are 10 items provided by a webapp which are customized in the details.htm page as an unordered list.
    In this case there are only 6 items filled out, the rest is empty, but the empty items do appear. Is it possible to tell the details page, not to display those empty items?
    Thanks a lot for your interest and help

    There are ways to do this with jQuery, but an easier way would be to use CSS.
    ul li:empty {
       display: none;
    Though this will not work in IE8/7, if that is a deal breaker you will need to use jQuery: http://jsfiddle.net/F7ZWV/
    $("ul li").each(function() {
                                                      var $this = $(this);
              if($this.text() == ""){
                 $this.remove();

  • Searching Web Apps with Data Source fields containing multiple values

    I have a Web App with a field allowing multiple values to be entered similar to the checkbox list. I need to restrict allowed values to a large, finite list of values currently stored in another Web App as the data source. I can't apply the Data Source field type as that only allows single value selection. I also need to be able to use the Web App Search form to search for items containing 1 OR more values in this field (the search functionality of a checklist field type). Here's what I've tried for field types:
    Text (string) or Text (multiline) field type - By saving a list of comma separated values (the same way that checkbox list outputs) to a text input or textarea, the search logic only searches for exact string (including commas) and doesn't parse the individual values.
    List (checkbox list) field type - This allows me to search multiple values using OR logic, but the web app will only store values that have been entered as options in the actual web app field setup. I tried using a checkbox list with minimal or empty options hoping that whatever values I sent over in a comma separated string value would still get stored, but because the values came from my Web App data source and not the list of options stored with the field, they were not saved.
    Has anyone found a way to do this?
    My other question is about how I might use a similar multi-value field as described above but return search results containing items with ALL selected values for that field (AND logic).
    Can anyone enlighten me to the inner workings of BC web app search logic?

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • Set Disable or Expiry Date for web app item via Edit form

    I have a user that wants to delete a web app item from a secure zone edit form, but they are not the owner of that web app item.  All items in the web app were imported via a csv file and hence do not have a 'submitted by' user id assigned.
    Is it possible to Disable a web app item using a web app Edit form?  or alternatively, is it possible to set the Expiry Date of a web app item using a web app Edit form?
    Thanks
    Dave

    Sorry Brian, but I'm not sure that answers my question.
    Sure, I can create a single web app item for every single client of my customer, manually.
    Sure, I can create and 'allocate' that single web app item to each customer manually.
    I pray the customer doesn't have hundreds of clients. And I would have to teach my customer how to do this convoluted process for every new client.
    But the one thing this doesn't do is answer the question of updating the value of units held.
    It seems the order module remains the closes to what I am looking for in that it allows an equation, and is automatically customer specific.
    However, I am looking for a way to achieve a single daily update by the customer as to the value of the units held by each client. This can be done via the product module - update price. But this does not update existing orders. Exisitng orders are fixed at the price on the day. The customer wants to update the value once, in one place, and have that amend all existing 'orders' to reflect the new total value of units held by each individual client, and to have this show in each client's member area.
    If you can think of a way of doing this in webapps or via the order module, this is what I am looking for. Anyone?

  • SPD Current Item URL to include web address rather than host name

    Hi,
    When I dcreate an SPD list workflow and include a link to the current item URL the web address gets replaced with the hostname. For example:
    I expect to see:
    http://mycompany.com.au/sites/corp/xxx/Lists/MyRegister/DispForm.aspx?ID=12 
    but we get
    http://perspxxx99/sites/corp/xxx/Lists/MyRegister/DispForm.aspx?ID=12    (perspxx99
    is the hostname)
    If requierd I can craft the URL however wondering if there's a way to make the default point to the machine name.
    Many thanks,
    Marco

    Hi,
    Can you please confirm Alternate Access Mappings are correct as per this post?
    https://social.msdn.microsoft.com/Forums/en-US/2bb44216-a930-4786-ad0a-3505f0f7f1d4/sharepoint-2010-workflow-current-item-url-pointing-to-internal-server-name?forum=sharepointcustomizationprevious
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • Web App - different input type when submitting

    I have a Web App image field on a customer submitted Web App field.
    It is originally inserted as
    <input type="field" name="CAT_Custom_22222" ... />
    But I'm using it as
    <input type="text" name="CAT_Custom_22222" ... />
    and from another dropdown field input, a jQuery snippet would grab the value and insert into it
    so then it would look like this
    <input type="text" name="CAT_Custom_22222" ... value="/image/image-set/A/C/E/111.jpg" />
    The dropdown has set of pre-defined URL of images so when users change, it will print the image on the page as well as update the IMAGE field to be submitted.
    It was set up that way due to another "non-web-person-client-case"
    There are random "users" submitting the web form and they are meant to upload certain file from limited selection anyway so I set up the dropdown.
    If an administrator needs to change the image, he can log into backend and upload image and of course he's not capable of finding correct URL path and type it in
    (that's why it couldn't be a text field in the first place)
    Long story short, this has been working beautifully for last couple of years then suddenly stopped working. I guess there must have been a change where BC wouldn't accept type="text" for a field meant to be type="file". It's bit disappointing as BC database would still save it in string format anyway.
    Any suggestion to this ?

    Hi,
    Please see the links and check they are helpful:
    http://blogs.office.com/2013/08/01/introducing-a-new-user-experience-feature-in-access-web-apps-cascading-controls/
    http://msdn.microsoft.com/en-us/library/office/jj249372(v=office.15).aspx
    Then, the issue is more related to Access web app DEV, I recommend you post the question to MSDN forum for Access: 
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=accessdev&filter=alltypes%2Calllanguages&sort=lastpostdesc
    Thanks for your understanding.
    Regards,
    George Zhao
    TechNet Community Support

  • Using javascript in a Web app to choose correct webform

    Hi, I've design a javascript function that should in theory call the correct webform when a particular option is chosen in a webapp item.
    The web app is an Event Web App that I made and I want the client to choose whether its a paid event or a free event from a drop down menu and the corresponding webform will appear.
    Javascript and webforms just seem to hate each other.
    My code is :
    <h1>{tag_name}</h1>
    {tag_description}
    <div id="event">{tag_event type}</div>
    <script type="text/javascript">
    var str=document.getElementById("event").innerHTML;
    var n=str.replace("Paid","45008").replace("Free", "10254");
    document.getElementById("event").innerHTML= '{module_webform,'+n+'}';
    </script>
    I know the script should work because I tested it using random words and the string would appear but when I actually put the webform number in
    firebug shows this error:
    <script type="text/javascript">
    var str=document.getElementById("event").innerHTML;
    var n=str.replace("Paid","45008").replace("Free", "10254");
    document.getElementById("event").innerHTML= <!-- CATALYST_ERROR - There was a problem with page modules. Ensure module syntax is correct. -->
    </script>
    Anyone have a solution?

    Hello ChristoRay,
    I'm curious to know if you have got this working? I have not tested this out, but I wouldn't think that you could use JavaScript to dynamically change a module.
    I would think that you could just create a drop down for them called "Free10254 or Paid45008" with the numbers being the values they select.
    Then within the details layout you can have:
    {module_webform,{tag_free10254 or paid45008}}
    This would cut out the need for js.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • Web apps and content holders after upload

    I purchased the uguru photography template from business catalyst into which I have inserted my own content worked on in dreamweaver and tested on my trail site. I transfered the whole of the new version successfully to my live site at http://www.misskikisalon.co.uk/. Have checked all files and everything is successfully there. The problem is that none of the web apps and content holders are now working and the interface tells me there are no web apps on the site although all the files have uploaded. The html pages say 'No Items Found' where the web apps should be working and the content holders should be - on product pages it says no product found or item out of stock. Please can you help?
    Also on the trial site interface under site manager there are 12 items and under web apps all the associated web apps for the template whereas in my live site in site manager there are 2 items listed under site manager - web forms and system emails and no apps - why the difference?

    I purchased the template which places it in the trial site worked on it locally using dreamweaver and then sftp site from dreamweaver to live site.
    How can I then use the template from the trial site and the version I have developed in dreamweaver and make this live on my live site. I want my currently live site to use this template and all the development I work since purchasing the template.

  • Show different content after every 5th web app listing

    I have a web app that list products. I would like to show different content after 5th item from the web app.
    So, it might look something like this.
    <div class="wrapper article-single-wrapper">
    Web app product 1
    Web app product 2
    Web app product 3
    Web app product 4
    Web app product 5
    </div>
    <div class="wrapper sponsored-post-list-wrapper">
    Advert
    </div>
    <div class="wrapper article-single-wrapper">
    Web app product 6
    Web app product 7
    Web app product 8
    Web app product 9
    Web app product 10
    </div>

    You can only do that with javascript, Say you had a hidden contentholder with the add on it. You could use jQuery for example, store the .html() into a variable and then every nth-item (4th) you could .insertAfter()

  • How to link web app item to different URL other than detail page

    Hi, this is probably a bit of a stupid question but I can't find the answer anywhere.  On my site, I have projects set up as web apps--I want the customer to be able to click on the title or image for the web app and for it to link to a PDF or blog page, NOT the detail view.
    So I want the app title and image to link to a different URL, not detail view.
    Here's the page in question, if that helps: http://sherrihaab.businesscatalyst.com/projects
    Thanks in advance for any help.

    {tag_name_nolink} - Will make the title with no link wrapped around it
    {tag_yourimagefield_value} - Will give you the raw source of the file location
    You can then form your own image html and links wrapping this and the web app item name text.
    To form the link source to go to - create a text custom field and just type or copy and paste a url into that field.

  • How to sort web app items based on few fields of it on search result page?

    I have a web app and its search. The search results are on multiple pages means it has pagination. My client's requirement is to have a feature which will sort results based on some web app items. for example we have a field price so when user select the price it needs to sort from high to low. Any one have idea how to do it?

    I have just been playing around with this for something else, all you need to do is duplicate your price field into the weighting field and it will automatically sort from High to low for you.
    Cheers
    Duncan

Maybe you are looking for