Use current post as option in advanced custom fields select - custom-post-type

I've got a custom post type 'reizen'.
I'd like to use the current post from this post type as an option in an acf select.
How to get this working?
The class of the select is .iphorm_2_1
Thanks in advance!

Instead of using the select field you can use the 'post object' field and filter it so that you can only choose from the 'reizen' post type. On the edit screen this will produce a dropdown of posts within 'reizen'.

Related

Customize Acumatica bulit-in dropdown list with conditions

I have used the answer to Woody's question at
Is there a easy way to customize Acumatica build-in dropdown list? to customize several dropdown lists. Thank you for the guidance with that one. I want to further customize a different drop-down list based on the Class ID and the Status of an Acumatica Case. I am not sure at all how to achieve this. Can anyone provide advice please?
If you are able to write proper 'Search' BQL to get the result, you can use the PXSelector attribute. If you use 'Current' it will use the the current documents field value. So as per your case, you can use the current ClassID and Status to dynamically populate your selector.
Eg:
[PXSelector(typeof(Search<DiscountSequence.discountSequenceID,
Where<DiscountSequence.discountID, Equal<Current<DiscountSequence.discountID>>>>))]
Hope this helps.
I propose you to consider customizable selector, with which you can completely control all your data which will be displayed. Here is example of implementation.

Netsuite - add custom field to Purchase Order

Hi I want to add a custom field to NetSuite. Please guide me how to do this. NetSuite has lack of Documentation.
I tried adding a New Body Field and New Column Field, none of them add that value to the interface.
Please help me on
How to add a custom field
how to link that custom field to Purchase Order Object.
Thanks in advance...
You can create a new Transaction body field under
customization > List, Record & Field > Transaction Body Fields > New
then on the on Applies To tab you can check Purchase and on the Display tab you can set the subtab where you want that custom field to be displayed. for example say main tab.
Hope this will help you setting up your custom field :)
My guess is that you have created the field, but haven't assigned the field to a record type. Click the Applies To subtab and check the boxes of the records where you want the field to display.

Associating DispForm with with an spfield item

I have a custom view of a list that doesn't include the "Title" field, I need to associate the display from with another spfield, how do I go about this?
Thanks
Achieved by setting the LinkToItemAllowed and ListItemMenuAllowed properties of the spfield to SPField.ListItemMenuState.Required;
Although not the nicest but a simple SPD workflow that populates a custom column of type Hyperlink/Picture with the DisplayForm URL. And then you can display this column into your respective view.
However, what's the reason you want to do this? You don't have the value in title? You can use the Title(linked to item) instead of Title(linked to Edit Menu). You may want to verify the names though as what I have put in terms of paranthesis might not be exact.

Preset the jqGrid filter text box through code

We are using jqGrid for ASP.Net version 3.6.6.0. We are facing a problem in search/filter as described below:
We have created a jqGrid using ASP.Net (C#) having column likes Name ,Status etc. There is a hyperlink on Name column.
We are able to successfully populate the grid
User applies search on a column say “Name=’XYZ’” and grid is updated according to search results.
User clicks on Name link and is taken to details page of that Name.
Now when user clicks back from that details page ,search is lost.
We were able to persist the searched grid details using session however we are not able to set the searched text back in search text box.
i.e we are not able to set the value “XYZ” in search text box of Name Column.
Need your help in knowing which property or method is to be used to set the Filter text box through code.
If you use Advanced Searching the searching parameters are saved in the postData.filters property in the JSON encoded format. If you use the Single field searching another properties of the postData parameter of the jqGrid save the filter information: searchField, searchString, searchOper. So what you can to do is to same the filters in the cookie. To restore the searching filters you can examine the cookie and if needed extend the postData parameter with the corresponding properties (see here for details).
If you want that the searching filters will be not only displayed if one opens the Searching Dialog you can set additionally the search:true parameter of the jqGrid.
I recommend you additionally read the answer on the close question.

Custom Picker Editor Control

I have lookup column, but the data in this column is very large.I want to create a custom picker control like (people editor control) in sharepoint.
Please help me.
Thanks,
You'll have to create a custom field type to achieve that.
Information from the source: http://msdn.microsoft.com/en-us/library/cc889345(office.12).aspx

Resources