Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true">
<entity name='appstore_accelerator'>
<attribute name='appstore_name' />
<attribute name='appstore_description' />
<attribute name='appstore_avgrating' />
<attribute name='appstore_videolink' />
<attribute name='appstore_link' />
<attribute name='appstore_userguidelink' />
<attribute name='appstore_acceleratorstatus' />
<attribute name='appstore_reviewer' />
<attribute name='appstore_loggedinuser' />
<link-entity name="appstore_productcategory" from="appstore_productcategoryid" to="appstore_productcategory" alias="rel_prod">
<attribute name="appstore_name" />
<attribute name="appstore_productcategoryid" />
</link-entity>
<link-entity name="appstore_serviceline" from="appstore_servicelineid" to="appstore_serviceline" link-type="inner" alias="rel_ser">
<attribute name="appstore_name" />
<attribute name="appstore_servicelineid" />
</link-entity>
<filter type='and'>
<condition attribute='appstore_acceleratorid' operator='eq' value="{{request.params['acceleratorid']}}" />
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% fetchxml carouselsQuery %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true">
<entity name='annotation'>
<attribute name='filename' />
<attribute name='documentbody' />
<attribute name='mimetype' />
<filter type='and'>
<condition attribute='objectid' operator='eq' value="{{request.params['acceleratorid']}}" />
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% fetchxml appstore %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true">
<entity name="appstore_productandservices">
<attribute name="appstore_name" />
<attribute name="appstore_logo" />
<attribute name="appstore_productandservicesid" />
</entity>
</fetch>
{% endfetchxml %}
{% fetchxml associatedprodandservices %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true">
<entity name="appstore_accelerator">
<attribute name="appstore_acceleratorid" />
<attribute name="appstore_productandservices" />
<filter type="and">
<condition attribute="appstore_acceleratorid" operator="eq" value="{{request.params['acceleratorid']}}" />
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% fetchxml relatedcontacts %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true">
<entity name="appstore_accelerator">
<attribute name="appstore_acceleratorid" />
<attribute name="appstore_primarycontactfullname" />
<attribute name="appstore_primarycontactemail" />
<attribute name="appstore_secondarycontactname1" />
<attribute name="appstore_secondarycontactemail1" />
<attribute name="appstore_secondarycontactname2" />
<attribute name="appstore_secondarycontactemail2" />
<filter type="and">
<condition attribute="appstore_acceleratorid" operator="eq" value="{{request.params['acceleratorid']}}" />
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% fetchxml userRatingsQuery %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true">
<entity name='appstore_rating'>
<attribute name='appstore_acceleratorrating' />
<filter type='and'>
<condition attribute='appstore_accelerator' operator='eq' value="{{request.params['acceleratorid']}}" />
<condition attribute='appstore_contact' operator='eq' value='{{user.contactid}}' />
</filter>
</entity>
</fetch>
{% endfetchxml %}
<!-- Get the mapping that matches the accelerator-->
{% fetchxml mappingQuery %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true">
<entity name="appstore_mappingreviewertoservicelineandproductcategory">
<!-- Select the ID of the mapping record -->
<attribute name="appstore_mappingreviewertoservicelineandproductcategoryid" />
<filter type='and'>
<!-- Filter by the provided Product Category value -->
<condition attribute="appstore_productandservices" operator="eq" value="{{ accDetailsQuery.results.entities[0]['rel_prod.appstore_productcategoryid'] }}" />
<!-- Filter by the provided Service Line value -->
<condition attribute="appstore_serviceline" operator="eq" value='{{ accDetailsQuery.results.entities[0]["rel_ser.appstore_servicelineid"] }}' />
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% if mappingQuery.results.entities.size > 0 %}
{% fetchxml getContactsMapping %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" >
<entity name="contact">
<!-- <attribute name="emailaddress1" />
<attribute name="fullname" /> -->
<attribute name="contactid" />
<link-entity name="appstore_mappingreviewertoservicelinetocontact" from="contactid" to="contactid" link-type="inner" intersect="true">
<filter>
<condition attribute="appstore_mappingreviewertoservicelineandproductcategoryid" operator="eq" value="{{ mappingQuery.results.entities[0]['appstore_mappingreviewertoservicelineandproductcategoryid'] }}"/>
</filter>
</link-entity>
</entity>
</fetch>
{% endfetchxml %}
{% assign matchedContact = false %}
{% if getContactsMapping.results.entities.size > 0 %}
{% for contact in getContactsMapping.results.entities %}
{% if contact.contactid == user.contactid %}
<!--The current user matches with one of the fetched contacts -->
{% assign matchedContact = true %}
{% break %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% if accDetailsQuery.results.entities[0]['appstore_loggedinuser'] and accDetailsQuery.results.entities[0]['appstore_reviewer'] %}
{% fetchxml getLoggedInUserAndReviewer %}
<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" >
<entity name="appstore_accelerator">
<link-entity name="contact" from="contactid" to="appstore_loggedinuser" alias="rel_logged">
<attribute name="contactid" />
</link-entity>
<link-entity name="contact" from="contactid" to="appstore_reviewer" alias="rel_rev">
<attribute name="contactid" />
</link-entity>
<filter>
<condition attribute="appstore_acceleratorid" operator="eq" value="{{request.params['acceleratorid']}}" />
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% endif %}
{% assign EnvironmentURL = snippets['appstore_environmenturl'] %}
{% assign userrating=0 %}
{% assign acceleratorName = accDetailsQuery.results.entities[0]["appstore_name"] %}
{% if userRatingsQuery.results.entities.size > 0 %}
{% assign userrating = 1 %}
{% endif %}
{% assign has_reviewer_role = user | has_role: 'Reviewers' %}
{% assign is_acceleratorOwner = getLoggedInUserAndReviewer.results.entities[0]["rel_logged.contactid"] %}
{% assign is_Reviewer = getLoggedInUserAndReviewer.results.entities[0]["rel_rev.contactid"] %}
{% assign is_UnderReview = accDetailsQuery.results.entities[0]["appstore_acceleratorstatus"].value %}
<div class="container">
<div class="row">
<div class="col-md-6">
<!-- Breadcrumb Functionality Start -->
<div class="breadcrumb">
<a href="{{ snippets['App Store Site URL'] }}" class="home-link"> </a>
<a href="{{ snippets['App Store Site URL'] }}" class="home-link">
<i class="fa fa-home" style="color: #FFFFFF; font-size:11px; font-weight:400; margin-right: 5px;"></i>
<span class="breadcrumb-text" style="color: #FFFFFF; font-size:11px; font-weight:400;"><label style="cursor: pointer;">Home</label></span>
</a>
<span class="breadcrumb-arrow" style="color: #FFFFFF; font-size:11px; font-weight:400">></span>
<span class="breadcrumb-text" style="color: #FFFFFF; font-size:11px; font-weight:400"><label>{{ accDetailsQuery.results.entities[0]["appstore_name"] }}</label></span>
</div>
<!-- Breadcrumb Functionality End -->
<!-- Display Name, Description, and Average Rating -->
{% if accDetailsQuery.results.entities.size > 0 %}
<h1 id="acc-name">{{ accDetailsQuery.results.entities[0]["appstore_name"] }} {{ accDetailsQuery.results.entities[0]["appstore_acceleratorstatus"] }}</h1>
{% endif %}
<div class="rating-container">
<p id="average-rating">Average Rating:</p>
<!-- Display star rating if needed -->
<div class="star-rating">
{% if accDetailsQuery.results.entities.size > 0 %}
{% assign averageRating = accDetailsQuery.results.entities[0]["appstore_avgrating"] %}
{% assign integerPart = averageRating | floor %}
{% assign decimalPart = averageRating | minus: integerPart %}
{% if decimalPart < 0.5 %} {% assign roundedRating=integerPart %} {% else %}
{% assign roundedRating=integerPart | plus:1 %} {% endif %}
<!-- Display star rating if needed -->
{% for i in (1..5) %}
{% if i <= roundedRating %} <span class="fa fa-star checked"></span>
{% else %}
<span class="fa fa-star"></span>
{% endif %}
{% endfor %}
</div>
{% else %}
<p>No ratings available for this app.</p>
{% endif %}
</div>
<p class="description">{{ accDetailsQuery.results.entities[0]["appstore_description"] }}</p>
{% if accDetailsQuery.results.entities[0]["appstore_userguidelink"] %}
<a href="{{ accDetailsQuery.results.entities[0]['appstore_userguidelink'] }}" target="_blank"> <button class="yellow-button" style="margin-top: 15px;width: 95px; ">How to Access</button> </a>
{% endif %}
{% if accDetailsQuery.results.entities[0]["appstore_link"] %}
<a href="{{ accDetailsQuery.results.entities[0]['appstore_link'] }}" target="_blank"> <button class="yellow-button" style="font-weight: 546;">Live View</button> </a>
{% endif %}
<!-- Video -->
<!-- {% if accDetailsQuery.results.entities[0]["appstore_videolink"] %}
<a href="{{ accDetailsQuery.results.entities[0]['appstore_videolink'] }}" target="_blank">
<img src="/Videoplay.png" alt="Video Icon" style="width: 38px; height: 36px; margin-right: 5px;">
</a>
{% endif %} -->
{% if accDetailsQuery.results.entities[0]["appstore_videolink"] %}
<img src="/Videoplay.png" alt="Video Icon" style="width: 38px; height: 36px; margin-right: 5px;" id="openVideoButton">
{% endif %}
<!-- Hidden modal for the video -->
<div id="videoModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<!-- Embedded video -->
<iframe id="videoFrame" width="560" height="315" src="{{ accDetailsQuery.results.entities[0]['appstore_videolink'] }}" frameborder="0" allowfullscreen></iframe>
<a href="{{ accDetailsQuery.results.entities[0]['appstore_videolink'] }}" target="_blank"><button class="yellow-button">Redirect</button></a>
</div>
</div>
<!--a href="{{ accDetailsQuery.results.entities[0]['appstore_videolink'] }}" target="_blank" class="btn btn-primary" id="redirect">Watch Video</a-->
{% if accDetailsQuery.results.entities[0]["appstore_acceleratorstatus"].value == "961100002" %}
<div class="user-rating-container">
<p class="user-rating-label">User Rating:</p>
<div class="star-widget">
<input type="radio" name="rate" id="rate-5" onclick="handleRating(this)">
<label for="rate-5" class="fas fa-star"></label>
<input type="radio" name="rate" id="rate-4" onclick="handleRating(this)">
<label for="rate-4" class="fas fa-star"></label>
<input type="radio" name="rate" id="rate-3" onclick="handleRating(this)">
<label for="rate-3" class="fas fa-star"></label>
<input type="radio" name="rate" id="rate-2" onclick="handleRating(this)">
<label for="rate-2" class="fas fa-star"></label>
<input type="radio" name="rate" id="rate-1" onclick="handleRating(this)">
<label for="rate-1" class="fas fa-star"></label>
</div>
<div id="hidestar">
{% assign previousRating = userRatingsQuery.results.entities[0]["appstore_acceleratorrating"] %}
<!-- Display star rating if needed -->
{% for i in (1..5) %}
{% if i <= previousRating %} <span class="fa fa-star checked" ></span>
{% else %}
<span class="fa fa-star" ></span>
{% endif %}
{% endfor %}
</div>
<span id="rating-message" style="font-style: italic; font-size: 10px; margin-left: 20px; margin-top: 0px; padding-top: 0px; font-weight: 100; font-family: EYInterstate;"></span>
</div>
{% else %}
<p> </p>
{% endif %}
<!-- Content using the fetched data -->
<!-- <div class="dropdown-container">
{% for item in associatedprodandservices.results.entities %}
<div class="prod-dropdown">
<button class="prod-dropdown-toggle">Products and Services<span class="arrow-icon">▼</span></button>
<div class="dropdown-content">
<div class="products-services-list">
<ul>
{% for option in item.appstore_productandservices %}
<li class="product-item">
<div class="logo">
{% assign app = appstore.results.entities | where: "appstore_name",option.label | first %} {% if app %} {% if app.appstore_logo %}
<img src="{{EnvironmentURL}}Image/download.aspx?Entity=appstore_productandservices&Attribute=appstore_logo&Id={{app.appstore_productandservicesid}}" alt="Logo for {{ app.appstore_name }}" class="logo-image" />
{% else %}
<p>No image available 1</p>
{% endif %}
{% else %}
<p>No image available 2</p>
{% endif %}
</div>
<div class="label">{{ option.label }}</div>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endfor %}
</div> -->
<div class="dropdown-container">
{% for item in associatedprodandservices.results.entities %}
<div class="prod-dropdown">
<button class="prod-dropdown-toggle">Products and Services<span class="arrow-icon">▼</span></button>
<div class="dropdown-content">
<div class="products-services-list">
<ul>
{% for option in item.appstore_productandservices %}
{% assign app = appstore.results.entities | where: "appstore_name",option.label | first %}
{% if app and app.appstore_logo %}
<li class="product-item">
<div class="logo">
<img src="{{EnvironmentURL}}Image/download.aspx?Entity=appstore_productandservices&Attribute=appstore_logo&Id={{app.appstore_productandservicesid}}" alt="Logo for {{ app.appstore_name }}" class="logo-image" />
</div>
<div class="label">{{ option.label }}</div>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
{% endfor %}
</div>
<p style="color: #FFFFFE;font-size: 10px; font-family: EYInterstate;" class="contacts"><b>Contacts:</b></p>
<!-- <div id="jsonData" style="display: none;">{{ appstore_accelerator.appstore_primarycontact_txt }}</div> -->
<div class="card-container">
{% if relatedcontacts.results.entities.size == 1 %}
<div class="card">
<div class="card-body">
<p style="font-family: EYInterstate;"><b><span class="contact-name">{{ relatedcontacts.results.entities[0].appstore_primarycontactfullname }}</span></b></p>
<p style="cursor:pointer; font-family: EYInterstate;"><span class="contact-email">{{ relatedcontacts.results.entities[0].appstore_primarycontactemail }}</span></p>
</div>
</div>
{% if relatedcontacts.results.entities[0].appstore_secondarycontactname1 %}
<div class="card">
<div class="card-body">
<p style="font-family: EYInterstate;"><b><span class="contact-name">{{ relatedcontacts.results.entities[0].appstore_secondarycontactname1 }}</span></b></p>
<p style="cursor:pointer; font-family: EYInterstate;"><span class="contact-email">{{ relatedcontacts.results.entities[0].appstore_secondarycontactemail1 }}</span></p>
</div>
</div>
{% endif %}
{% if relatedcontacts.results.entities[0].appstore_secondarycontactname2 %}
<div class="card">
<div class="card-body">
<p style="font-family: EYInterstate;"><b><span class="contact-name">{{ relatedcontacts.results.entities[0].appstore_secondarycontactname2 }}</span></b></p>
<p style="cursor:pointer; font-family: EYInterstate;"><span class="contact-email">{{ relatedcontacts.results.entities[0].appstore_secondarycontactemail2 }}</span></p>
</div>
</div>
{% endif %}
{% endif %}
</div>
</div>
<div class="col-md-6" style="margin-top: 20px;">
{% if carouselsQuery.results.entities.size > 0 %}
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
{% for carousel in carouselsQuery.results.entities %}
<li data-target="#carousel-example-generic" data-slide-to="{{forloop.index0}}"
class="{% if forloop.first %}active{% endif %}"></li>
{% endfor %}
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
{% for caro in carouselsQuery.results.entities %}
<div class="item {% if forloop.first %}active{% endif %}">
<img src=' data:{{ caro["mimetype"] }};base64,{{ caro["documentbody"] }}'>
</div>
{% endfor %}
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
{% endif %}
</div>
</div>
<hr>
{% if has_reviewer_role and is_UnderReview == "961100001" and matchedContact and is_acceleratorOwner != user.contactid and is_Reviewer == user.contactid %}
<div class="review-page-button" id="button-div">
<span id="review-message" style="font-style: italic; font-size: 11px; margin-right: 10px; margin-top: -2px; padding-top: 0px; font-weight: 100; font-family: EYInterstate; color:white;"></span>
<button class="review-button" id="reject-button">Reject</button>
<button class="review-button" id="accept-button">Accept</button>
</div>
{% endif %}
</div>
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team