I have a Craft CMS site where users have a christmas "wish list" where they can add / remove items.
At the moment I have:
A wish list entries section
Users wishListItems matrix field containing a number of selected wish list entries
I know I can get a total count of all items specific to a single user with:
{% set userEntries = craft.users.username('buddy').first.wishListEntries.total() %}
But how can I list the most popular wish list items selected by all users?
Related
How to add a column to the Sub record inventory detail?
just like expiration date on inventory number subrecord on Item Receipt, can we have a custom field for manufacturing date in inventory number subrecord. Is there any feature need to be enabled? Does NetSuite have any functionality of Production/Manufacturing date? or any way to create a custom field in inventory number subrecord that is visible in IR subrecord?
In Netsuite go to
Customization -> Lists, Records, Fields -> Item Number Fields
If you have a production run you either have lot numbered or serialized inventory. You can make the field applicable to all Lot Numbered or all Serialized or to just specific skus.
Note that the items need to have been created as lot numbered or serialized items. If the items you want to use were not created as such then you’ll need to replace them with new items. If you want to use the same skus for the new items you’ll need to rename the original items.
I have an excel sheet where there are two columns:
Email
loyalty points
example:
Email
Loyalty Points
abc1#company.com
248
abc2#company.com
540
My requirement:
When a user (abc1#company.com) login to his SharePoint he should see the token value as 248 and when the user (abc2#company.com) login to SharePoint then he should see the token value as 540.
Till now I have created a page on sharepoint and now I am wondering how to load data specific to user and display it in the sharepoint page.
Solution might be to Import That excel to a SharePoint list. Now based on situations:
A) Unique Item Permission
You can set unique permission per item in the SP library, then set it only for managers group and specific user.
Set unique item permission part can be automatized with WF or Power Automate Flow as well, after that it can be done for large amount of items (limit for unique item permission in SP list is 50 000)
B) View with filter
If the Loyalty Points are not secret and you just dont want to spam users with a lot of rows....you can create a list view in SharePoint list...Where you limit the values with Filter. (Library settings > Views > Create View) in Filter part you select person/group Column "Email" and in value you can put [Me]
[Me] and [today] are only available dynamic filters in View settings
You can display this view on HomePage for example and it will show always values only for specific user.
We are trying to get around the limitation of Field Permissions in SharePoint by creating a second list which will allow users to edit what they are allowed, instead of the whole form. In this case, it is on field that is set to Person or Group (Dashboard). For reference, the Person or Group gets info from AD, I am not sure if that is standard or not info but thought to add it in.
We have created a second list that has two fields, one being a Person or Group (AddToDashC) and the second being plain text (CopyName), where a workflow triggers and sends the Person or Group to plain text as Display Name, as that is what shows in the Person or Group. Last Name, First Name. This workflow works fine.
On the main list, we have separate list items where the Dashboard field can be edited, being unique for each list item. I can’t figure out the logic to be able to match the IDs up so that we can transfer the CopyName information to populate the correct list item ID through a workflow. We have a Lookup on the first list (AddtoDashWFC) which grabs the plain text form, CopyName, but just trying to figure out how to populate it properly.
I was hoping to have an edit link next to each list item in the column, which will go to the second list but still link to the report through the ID.
Sorry for the seemingly basic question, I just can't get the logic.
List 2 Workflow so far
List 1 Workflow so far
Thanks,
Patrick
Rookie NS question. I've got 1,000+ products in a category. I just created sub-categories and segmented the products better, so now all I want to do is remove the 1,000 products from the root category. How do I do that without having to do it one-at-a-time? Do I need to do a mass update?
If i'm understanding you correctly, you've already added the products to their respective sub-categories and there's just unwanted copies of the bulk of them in the root category. Usually you'd have to delete them manually.
A shortcut:
Make a temporary category
Put the subcategories under that temp category
Delete the root category. Deleting a root category will delete it's subcategories, so this is why your subcategories need to be under a different category before deleting the root.
Recreate the root category and it'll be a clean slate for you to work with. You can then simply add the subcategories back to it and delete the temp category.
I had a similar circumstance. I simply did a CSV update for Import Type: Website and Record Type: Site Category.
My CSV file had two columns, one for the internal id of the web category and one item with the value of the internal id of the item (Any random item).
Simply do the import, as an update, but the real trick is to select Update and Advanced Options below OVERWRITE SUBLISTS (tick).
In the field matching you map the internal id of the Site Category to the internal id field.
In the Site Category Presentation Items below, expand out and map the internal id of the item to item, ensuring you select internal id as the mapping option if you are in fact using this (option of Names are of course fine but I prefer always to use the Internal ID option which never changes).
Lastly select Type field for mapping and choose Item as a Default.
Example of this mapping below.
Category internal id maps to Site Category : Internal ID
Item internal id maps to Site Category Presentation Items 1 : Item
Item maps to Site Category Presentation Items 1 : Type
With the overwrite sublist selected, all the items will be removed and you will end up with just the one item in the Web Category, which you can then quickly delete if you want it completely empty.
Does anyone know how I can retrieve the NUMBER OF ITEMS in a category in netsuite?
I'm hoping for a getAttribute tag of some sort. I need the count of total items in order to create a pagination string url.
The simple method is to create a saved search with the criteria/filters you need.
You can create saved search either programmatically or by using the tools available in netsuite.
The length of the result of saved search will show the total NUMBER OF ITEMS.
NOTE : If you want, you can retrieve the entire details of each product from saved search results.