How to display the list of recent visited group name? - liferay

I want to display the list of recent visited group's name in a drop down :)
or how can i place group's name in order of recently visited?
i am displaying the group name in a drop-down menu.

Related

NetSuite - Hide components of Item Group on Sales Order "Print PDF" forms

I have a client script deployed to NetSuite Sales Order record. This client script is responsible to add "Item Group" main line, then corresponding "Member Item" lines and finally "End of Group" line.
Note: The functionality is:
When a user adds an Item Group in Sales Order line, a Suitelet (Pop-Up window) immediately opens up displaying the corresponding components of the Item Group.
And the user can manually select the components required for that Item Group.
And on saving the form, the Suitelet window closes and the Sales Order client script triggers to add the Item Group line, selected member component lines and End of Group line on Sales Order.
And my problem is:
On the "Item Group" item record, "Display Components on Transactions" field is unchecked.
Due to which, based on standard NetSuite functionality, when the particular Item Group is manually added on Sales Order, the print PDF should display the main Item Group line only.
But on creating the Item Group line, member component lines and End of Group lines using client script; the Sales Order print PDF is displaying all set of lines (and not just Item Group line).
So how do I go about fixing the same and mimick standard NetSuite functionality (of only showing Item Group line when "Display Components on Transactions" field is unchecked).
Additional Note
I am currently using Sales Order's Basic PDF template. Any solution with Advanced PDF template would be more than welcome.
Thank you for your time in going through the same.

Odoo: Change One2many "add new line" behaviour

I have made a custom model and for a user to make an order they have to 1) click on add new line, 2) either select one of the products from the list or 3) click on search more, and search for the desired product.
As shown above these are a lot of steps given they can be adding more than 50 items during 1 order
I want to change the behavior of the hyperlink "add new line" of a one2many field, to directly open the full view of the products (as if a user clicked search more) then return the result back to the one2many field.

Unable to view details of modified by on Custom List

As mentioned in the title above, I've added Created by and Modified by column field in my custom list.
But however, when i added a new item into the list, I was not able to see my name or the person's name, that creates the item.
Would like to know what are the possible reasons to this issue.
UPDATES:
Here is the issue i'm facing.
First of all you dont need to add CreatedBy, CreatedDate, ModifiedBy, ModifiedDate columns to lists these are added by default.
All you have to do is to edit the default view and add the columns to the default view, if you have a custom view edit it and add the columns.
When you add a column you get the option to add it to default view.
Doing the above will show the columns in the view.
How to change the view
Goto List Settings (Gear icon on right if O365 or Top Ribbon Menu)
On the bottom you will find the "Views" section
Click the "All Items" now you can see all the available columns the Created and CreatedBy will be there just tick it and remove your columns.
Press ok your columns will be displayed in the view with correct values.

How can I display results filtered by creator?

I am using SharePoint 2010 and am adding a data view web part to the DispForm page for a custom list. I want to be able to display a history of list items created by the user (NOT currently logged in user). Example:
"User A" adds a new help desk ticket
"User B" views the list item and sees a DVWP that is filtered to display only the results from the list item's creator
Can I do this dynamically using the "created by" field? How would I filter this so that it displays all items created in this list by "created by"? This is for a help desk system I am developing. Essentially I just want to be able to filter based on the list item's creator.
There will be multiple users who will be adding the ticket.
In the dataview properties you have options to display a toolbar over the dataview web part. There are options to Filter,Sort and Group.
Alternatively you can Sort and Group the dataview in SPD based on 'Created By' field. I think this should be the way to do it. The User B should be able to view all tickets grouped by 'Created By' field.
Thanks!

Unwanted SharePoint context menu

I created a custom lookup field type which works fine. However, there is a context menu for every item in columns of this type.
I didn't do anything on purpose to add this context menu.
How to get rid of it?
If you go to View -> Modify this View, you can select from the fields you'd like to have visible in the default view. There should be several options for some fields, and the one you likely have by default will be something like medium city (linked to document with edit menu). Choose medium city on its own and you should be good to go!
I solved the problem.
The source list "Cities" had three columns - "Name of the city", "Name of the city (linked to item)" and "Name of the city (linked to item with edit menu)".
When I was creating the "medium city" column in the "Customers" list, I chose "Name of the city" from the drop-down list. I was positive it was the 1st column but it turned out it was the 3rd one.
I modified the code filling the drop-down list with data so it contains no linked to item columns and it's working fine now.

Resources