NetSuite Suitecommerce Page source - netsuite

I'm new to suite commerce and I couldn't find page source.
Clicking a tag it goes to page.
Here a tag is.
CONTACT
Where could I find page source?

The URL indicates that you are trying to find the template that lays out Information Item with Internal Id 51.
So in Netsuite:
go to Lists -> Website -> Information Items -> Search
use "Advanced Search" with criteria to find Internal Id (Number) is 51.
If you are just trying to change the html then one of the info item's description fields may be what you need to edit.
If you are trying to get to the markup then check if that item has an "Item DrillDown Template". If it does then go to Setup -> Site Builder -> Item/Category Templates and find and edit the referenced template.
Otherwise you need to find the Info Item Drilldown template. This could be specified at the web site level or at on the web site's theme.

Related

SharePoint 2013 Item Search not working

I have a site on SharePoint 2013, I have Custom lists, when I trying to search any item in the list, the search box doesn't return any results.
I did crawling(Incremental) on whole site and after crawling I did Re-indexed the list as well, but still the search box doesn't return any results.
I attached the image below.
Can anyone please help me.
Check default item view form. I.e. you should be able to go to item and view it.
Sometimes, when default item view form is corrupted or not exists, crawler grabs list view form, but doesn't go through list.
Also try to check CA -> Craw Log -> Url View -> Type a URL...

Orchard CMS - dynamic query based on TaxonomyField of current content

I am looking into using Orchard CMS for an upcoming project and have hit a block. The site need to display articles of various types alongside a list of recent articles of the same type.
To that end I have:
Created a custom ContentType called Article which includes a TaxonomyField for ArticleType.
Created a custom theme with zones to reproduce the layout the customer requires. (Including RecentArticles.)
Created a custom widget layer to show/hide the RecentArticles zone based on the current ContentType. (I.e. the RecentArticles zone is only populated when we are displaying an Article.)
Created a Projection to show recent content of type Article.
I see that I can use the ArticleType taxonomy field to filter the source of the underlying query of part 4. However I need that filtering to be dynamic based on the ArticleType of the currently displaying content.
Is this possible? Is there an alternative way to reach the same result?
Thanks in advance.

SharePoint 2013 Query for specific content type

I am trying to get the Search Content Web Part to display an aggregation of announcements from various announcement lists in a site collection.
I created the announcement lists using the "add an app" then "Announcements" so I am assuming that this is a list of the ContentType Announcement? I've added a new announcement to the list with a title of "this is a test".
After I have added the Search Content Web Part to a page (for test purposes a page in the same site as the announcement list) and gone to set the Query on the web part to:
ContentType:0x0104*
No results are being returned. To check that the announcement has been indexed by the crawler changed the query to:
Title:this is a test
Now two results are displayed 1 a csv and the other the announcement with a ending with ../DispForm.aspx?ID=1 .
Any help much appreciated.
Use ContentTypeId. I know that by default ContentType is shown this way, but it might be a bug. Just try ContentTypeId.

Get listitems from Current Site

I am trying to create a Page Layout, that should have a lookup field. Lookup field should always get populated with a list's items.
This list will exist in all subsites, so whereever I create this page, list should get populated with listitems from current site.
I tried using site column lookup field, but it always point to list under top site and not the current site.
Any suggestion on how to make it work or better alternative? Thanks!
Let me know if I can provide more info.
The most straightforward solution I can think of is using a cross site lookup column and creating a seperate fields for each subsite. However, you will need to create and use different Page Layouts for each subsite.
You can use http://sp2010filteredlookup.codeplex.com/ for cross site lookups.
Solution 1 - Use http://sp2010filteredlookup.codeplex.com/
Use filtered lookup solution. So let's say you have your custom Page Layout and custom Page Content Type.
Every time you create new subsite, you should remember go to Pages list settings and edit Page Content Type by adding cross site lookup (with the same field "internal name").
So you still have one Page Layout (and one Content Type). But for each Pages library instance, Content Type contains diff fields (but with the same Internal Name). It will allow you run CAML queries and other things needed without any problems.
Solution 2 - develop custom sharepoint field type.
In edit mode, control will render "dropdown list" and populate data from list instance that is on current subsite. In the field settings you can have relative list url.
Solution 3 - hidden text field / js snippet solution
Page Content Type can contain hidden text field (it can contains selected field value in json format for example). Develop js snippet that will handle all the logic (rendering in edit/view mode, saving etc) and put it on Page Layout (aspx).
I would suggest to use solution #1 or #2.

Document Library Crawl

I set up a new scope and passed in the URL for a specific document libary that I created that hold 2 word documents.
For some reason when I start a full crawl, it does not see the 2 word documents.
The word documents have meta data and I've created Managed Properties that map the crawled properties.
I am trying to utilize the Advanced Search webpart to be able to search from this scope. When I enter a search term such as the filename of the word document, no results are returned.
Any ideas?
You need to enable the document library to be searchable. Enable it through the document libraries properties.
Edit
See Harnessing Properties in SharePoint Search
To get to the Document Library Advanced Settings page, from within a given library, select the Document Library Settings menu item from the Settings dropdown, and then select the Advanced settings hyperlink under the General Settings header. Somewhere in there, you should see something like the following image. Make sure that the radio button is set to Yes. Source
(source: bamboosolutions.com)
What account is the crawler running as? Maybe that account doesn't have read permission on the list, so it can't index it.
Can you find information from the same documents in other document libraries, when using the default search scope?
Can you find information from this document library using the default search scope?
Are you trying to create a custom search results page, or just scope?
One thing to try is to check the search crawl log to see if there were any errors when it was searching the library.

Resources