Extending DAM Asset Editor formitems and grouping new fields into a widgetcollection
Hi,
I'm a newbie so be kind pretty please...
We have a requirement for one of the websites hosted on our CQ instance to have some extended DAM properties for PDF files.
Eg. Summary (textfield) and Search Weighting (selection)
We have added a new namespace with our new items/properties underneath:
/apps/dam/option/metadata/edexcel
We’ve also extended the pdf asset editor by adding the new fields to formitems under:
/apps/dam/content/asseteditors/application/pdf/formitems
And we are getting the expected result in DAM editor in that when we choose to open a PDF we have new fields to edit our new properties.
We have also been able to prove that using group permissions we can tailor it so that only specific website authors see these extended PDF fields; essentially making the extension local to an individual website.
The issue we are having is trying to assign group permissions so that we can deploy and maintain these in the best possible way. What we are trying to do is group these new fields in formitems into a widgetcollection so that we can assign the permissions we need at one widgetcollection level rather than needing to assign at individual field level.
I have tried creating a widgetcollection under formitems and adding my new fields within and this works ok up until the point when I try to assign read permission at the widgetcollection level. Then what happens is I can no longer ‘open’ a PDF at all.
Is there a way that we can do this? Can you suggest any alternative solutions please?
Many thanks in advance
Claire
Thank you jorg, so you say by applying ACL and deny read access for project B, and if Dam folder is Overlayed under apps such as apps/dam, I can restrict modified version of DAM for project B thereby ProjectB using the foundation Dam and have modified version of dam for project A? Please correct me if I am wrong, since I have the jsp's such as child asset and metadata editor jsp modified after being overlayed.
Regards,
NZ
Similar Messages
-
Adding new metadata in DAM asset editor
Hi All,
I have a requirement wherein two projects reside on same instance, apps/ProjectA and apps/ProjectB . Now Project A has DAM customized, ie. a new metadata added and hence files, /apps/dam/content/asseteditors/formitems and folders with files under /apps/dam/gui/components have been modified to take care of creation of new metadata. Now my question is, Is it possible to have such DAM changes constrained to projectA alone, and Project B using default DAM?
Is it possible to overlay DAM inside the apps/ProjectA alone?
Kindly let me know.
Regards,
NZThank you jorg, so you say by applying ACL and deny read access for project B, and if Dam folder is Overlayed under apps such as apps/dam, I can restrict modified version of DAM for project B thereby ProjectB using the foundation Dam and have modified version of dam for project A? Please correct me if I am wrong, since I have the jsp's such as child asset and metadata editor jsp modified after being overlayed.
Regards,
NZ -
Hi All,
I am facing one issue regarding the asset editor in cq 5.5 sp2.
When I open image by browsing through the folders in DAM every thing works fine. It shows all the data below the image and image type , Publish to Scene7 link as well.
When I open the same image by searching it wont show image type and publish to scene7 link.
Problem here is for the same image it shows different views when we open it in different ways. Internally if the image type is not coming then it will take default asset editor(instead of jpeg asset editor) because of this some of the metadata changes (custom metadta cahnges which we need) in the center page are not showing up when we open the image by searching.
Thanks,
MaruthiI've been struggling with this same issue on the same platform (5.5 sp2). Here is what I know so far:
When you are browsing the DAM tree under the Digital Assets tab and open a jpg, then the asset editor retrieves a list of image-specific fields from /apps/dam/content/asseteditors/image/jpeg/formitems .
When you use the DAM Search tab to find the jpg, then the asset editor retrieves the list of generic fields from /apps/dam/content/asseteditors/formitems .
This issue also affects PDFs. The Digital Assets tab will use the pdf-specifc fields from /apps/dam/content/asseteditors/application/pdf/formitems but the Search tab will use the generic fields from /apps/dam/content/asseteditors/formitems .
In other words, the DAM Search widget isn't loading the desired fields into the asset editor. You can force the asset editor to load the correct fields by refreshing your entire browser. I may try to patch this by overlaying the DAM Search widget if I can find it. -
Extending sales order change BAPI and updating custom fields
Hi
i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
also can some one send me code to actually check if bapi is changing my values?
if poss tell me how should i populate values into BAPI.After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
Fill values as follows :
Data : ls_parex TYPE bapiparex,
lt_parex TYPE STANDARD TABLE OF bapiparex.
ls_parex-structure = 'BAPE_VBAK'.
ls_parex-valuepart1+0(10) = Sales order no
ls_parex-valuepart1+10(XX) = somevalue. <---- Value for custom field no 1
ls_parex-valuepart1+XX(XX) = somevalue. <---- Value for custom field no 2
APPEND ls_parex TO lt_parex .
clear ls_parex.
ls_parex-structure = 'BAPE_VBAKX'.
ls_parex-valuepart1+0(10) = Sales order no
ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
APPEND ls_parex TO lt_parex.
Same pair for VBAKKOZ & VBAKKOZX
Updating custom fields
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = Sales order number
order_header_inx = 'U' <--- U for update
TABLES
extensionin = lt_parex[].
Edited by: nkarwa on Oct 25, 2010 12:39 PM -
How to add new field into dynamic internal table
Hello Expert.
how to add new field into dynamic internal table.
PARAMETERS: P_TABLE(30). "table name
DATA: I_TAB TYPE REF TO DATA.
FIELD-SYMBOLS: <TAB> TYPE standard TABLE.
*Create dynamic FS
create DATA I_TAB TYPE TABLE OF (p_table).
ASSIGN I_TAB->* TO <TAB>.
SELECT * FROM (p_table) INTO TABLE <TAB>.
here i want to add one more field into <TAB> at LAST position and my
Field name = field_stype and
Field type = 'LVC_T_STYL'
could you please helpme out .Hi,
Please find the code below.You can add the field acc to your requirement.
Creating Dynamic internal table
TYPE-POOLS: slis.
FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE, u201C Dynamic internal table name
<fs_dyntable>, u201C Field symbol to create work area
<fs_fldval> type any. u201C Field symbol to assign values
PARAMETERS: p_cols(5) TYPE c. u201C Input number of columns
DATA: t_newtable TYPE REF TO data,
t_newline TYPE REF TO data,
t_fldcat TYPE slis_t_fldcat_alv,
t_fldcat TYPE lvc_t_fcat,
wa_it_fldcat TYPE lvc_s_fcat,
wa_colno(2) TYPE n,
wa_flname(5) TYPE c.
Create fields .
DO p_cols TIMES.
CLEAR wa_it_fldcat.
move sy-index to wa_colno.
concatenate 'COL'
wa_colno
into wa_flname.
wa_it_fldcat-fieldname = wa_flname.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO t_fldcat.
ENDDO.
Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = t_fldcat
IMPORTING
ep_table = t_newtable.
ASSIGN t_newtable->* TO <t_dyntable>.
Create dynamic work area and assign to FS
CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
ASSIGN t_newline->* TO <fs_dyntable>.
Populating Dynamic internal table
DATA: fieldname(20) TYPE c.
DATA: fieldvalue(10) TYPE c.
DATA: index(3) TYPE c.
DO p_cols TIMES.
index = sy-index.
MOVE sy-index TO wa_colno.
CONCATENATE 'COL'
wa_colno
INTO wa_flname.
Set up fieldvalue
CONCATENATE 'VALUE' index INTO
fieldvalue.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
ENDDO.
Append to the dynamic internal table
APPEND <fs_dyntable> TO <t_dyntable>.
Displaying dynamic internal table using Grid.
DATA: wa_cat LIKE LINE OF fs_fldcat.
DO p_cols TIMES.
CLEAR wa_cat.
MOVE sy-index TO wa_colno.
CONCATENATE 'COL'
wa_colno
INTO wa_flname.
wa_cat-fieldname = wa_flname.
wa_cat-seltext_s = wa_flname.
wa_cat-outputlen = '10'.
APPEND wa_cat TO fs_fldcat.
ENDDO.
Call ABAP List Viewer (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = fs_fldcat
TABLES
t_outtab = <t_dyntable>. -
Extended Classic Scenario PPOMA_Purchasing Org and Group
Hi gurus,
We are working with SRM 5.5 and we are having problems with the assignments for the Purchasing organization and Purchasing groups in the PPOMA.
In the documentation it says we should have one box for the R3 Purchasing Organization (flagged and referred to the backend POrg) and one for the Local Purchasing Organization (flagged but NOT referred to the backend POrg). The same for the Purchasing Groups, the one under R3 POrg will be flagged and referred to the PGroup in R3 and the one under the Local POrg will have the flag but it will not be referred to the backend PGroup.
Afterwards, in the attributes for the Local POrg and Local PGroup, with the attributes PURCH_ORGX and PURCH_GRPX the local and the R3 POrg and PGroup will be assigned each other.
The purchasers will be located in the Local PGroup. The R3 POrg and PGroup will never have users assigned.
The problem is that all the workflow is only working if the "Local" POrg and Group have the backend purchasing organization and purch group assigned in the Function Tab. This means that the 2 boxes for R3 are no longer necessary. In the documentation it says that this version of SRM needs both boxes for the POrgs and the 2 boxes for the PGroups. We have flagged the Extended Classic Scenario.
Any help on this? It's because of the version?
Many thanks and regards,
I will give Points!Hi Ana
PURCH_GRP Purchasing group Number of an organizational unit that is indicated as local purchasing group in the organizational plan.
This attribute is simulated. You define an organizational unit as company on the Function tab.
PURCH_GRPX R/3 purchasing group Number of an organizational unit that is indicated as the R/3 purchasing group in the organizational plan. The value contains the ID and the associated backend system of a backend purchasing group.
This attribute is simulated. You define the ID and the associated system on the Function tab.
PURCH_ORG Purchasing organization Number of an organizational unit that is indicated as local purchasing organization in the organizational plan.
This attribute is simulated. You define an organizational unit as purchasing organization on the Function tab.
PURCH_ORGX R/3 purchasing organization Number of an organizational unit that is indicated as the R/3 purchasing organization in the organizational plan.
This attribute is simulated. You define the ID and the associated system on the Function tab.
can you elaborate more?
in ECS also we can map the backend purchase organisation/ purchase group for purchasing activity.
there might be a resposibilty tab for the backend purchase group might be mapped the responsible purchaser list (dept).plz check it up
regards
Muthu
regards
Muthu -
Modify and add new field in standard Purchase Order script
Hi All,
I have some problem with Modify and add some new fields in Standard Purchase Order script. From ME22n transaction code it display PO detail. In <b>item detail</b> with <b>condition</b> tab all data will display in Currently PO script output.
But I want to display ME22n->Item Detail->Invoice->Taxes Data. how to display this data in standard PO script. All data are fetch from <b>Structure</b> like ( KOMV,KOMVD..etc) then How it can be Display?
Waiting for Replay.
Himanshu Patel.Work with an Abaper.Tell your requirement [ addition of a field] and ask him to include this field by using the functionality " Field Exit".
-
Group Description in Drill down and grouping on field
I want to put a formula field for grouping, but I want to display some text(description) in group drill down.
My group field is numeric and I want to display text on right side of drill down report.Hi Seema,
In order to display a different group name you may try the below steps:
- Right click on the group and click on change Group option and then click on Options taband then check the box which says 'Customize Group Name Field'.
- Now either 'choose from existing field' or 'use a formula as group name' to display the group description.
This would help you to display the appropriate description for that field.
Regards,
Komal Prasad -
ABAP PROXY - how to load a new field into SAP SNC system
I am also curious about the proxy process. Please let me know if you know of a post that has mentioned this before.
We have to customize our Delivery Schedule Notification proxy. I already regenerated the standard one into a Z proxy name. I already put in my custom code to load Z fields into a Z table.
Here is my new problem. The users wants more additional fields.
Here is the standard proxy generated layout for this structure:
/SCA/BIF_S_DELIVERY_SCHEDULE
CONTROLLER
ID
TYPE_CODE
CREATION_DATE_TIME
BUYER_PARTY
VENDOR_PARTY
BILL_TO_PARTY
NOTE
ITEM
Here is the new proxy generated layout for this structure:
ZDELIVERY_SCHEDULE_NOTIFICATIO
CONTROLLER
ID
TYPE_CODE
CREATION_DATE_TIME
BUYER_PARTY
VENDOR_PARTY
SUPPLYING_VENDOR
BILL_TO_PARTY
NOTE
ITEM
Notice that SUPPLYING_VENDOR is the new field. VENDOR_PARTY is already loaded into the system. How can I get SUPPLYING_VENDOR loaded into the database?
Thank you in advance for your assistance.
Edited by: DAVID CRAIG on Jul 29, 2009 2:16 PMHello.
Thank you for the information. I need to clarify my situation.
I understand there is a PROVIDER CLASS. Within that PROVIDER CLASS there is a METHOD. Inside that METHOD there is a place for me to put my code in. I have already done that work for a previous requirement. I moved Z fields to a Z table.
My new requirement has a field SUPPYING_VENDOR that was inserted into one of the SAP structures. It was placed next to VENDOR_PARTY.
Here are my steps of execution:
1. Go to transaction /N/SCA/ICH_S (SNC Supplier View)
2. Click on RELEASE
3. Click on RELEASE OVERVIEW
4. Click on GO
5. Click on DETAILS
6. Click on the SHIP-FROM LOCATION tab
The SHIP-FROM LOCATION field is currently being populated by the VENDOR_PARTY field from the proxy. This is done automatically by SAP.
1. How do I find the table and field name for that field? This is in the Supply Network Collaboration screen, not normal SAP transaction.
2. How do I get that SUPPLYING_VENDOR data to populate SHIP-FROM LOCATION instead of VENDOR_PARTY? -
Add new field into Standard Adobe Form
Hi Expert,
I'm trying to do a very simple thing (at least that is what i think), we want to have new scenario for PCR (personnel change request). So i copy the standard interface and form (ISR_FORM_SPEG) and add some new field in that form (trough Tcode SFP). The problem is the new field that i added is not showing up any value, i tried to add address or personnel area to the form. What do i miss here? I'm relatively new to this adobe form. Thanks
Regards
HendriHi,
Because I'm new at this i will assume that this problem is just as a matter of binding problem. I've copy the form and interface ISR_form_SPEG to Z.
In interface(TCode SFP) Z_ISR_IF_SPEG there is enty in import like this
position | Type | QISR_TAB_type| | |
In the Z_ISR_FORM_SPEG i drag the interface Position (from import folder) into the context on the right side of screen, in Layout tab i create ISR Text Display, and drag the position into the text display (which i believe is the binding processes). Activate it and save. But no value is displayed when running the iview on the portal (personnel change request), the form show and all label are show too but the value is not showing. Thanks -
When i first bought my shuffle a few years back, i would use the itunes in my old laptop to add/delete songs from it. However, recently i realised im unable to do so on my new laptop (using itunes). Today, im unable to add/delete songs from my shuffle, using my old laptop or new laptop. Need help on this, as im unable to change my songs in my shuffle. Appreciate any help or suggestions.
Hi Sam,
CRMToolBox gives you an option to work on webresources. Alternatly, You can export the webresource, work in Visual Studio and use the browse button on the webresource editor to upload the updated file.
Cheers,
Jithesh -
Script help for people and group sharepoint field
Hello ,
I want to perform a check by using javascript for people picker controls
sudhanshu sharma Do good and cast it into river :)Hi,
According to your post, my understanding is that you wanted to perform a check using JavaScript for people picker controls.
Did you mean you wanted to make a validation of people picker control?
You can do the steps as below.
Just Add a content editor webpart in you list form(NewForm.aspx or EditForm.aspx) and put the script below: To add CWEP to you list form you can refer Link
2. Add your 'Control UserField_upLevelDiv ID'(Using View Source you can get upLevelDiv id of that contol)
<script type="text/javascript">
function getPickerInputElement(identifier)
var tags = document.getElementsByTagName('DIV');
for (var i=0; i < tags.length; i++)
var tempString = tags[i].id;
if ((tempString.indexOf('UserField_upLevelDiv') > 0))
if(identifier == tempString)
var innerSpans = tags[i].getElementsByTagName("SPAN");
for(var j=0; j < innerSpans.length; j++)
if(innerSpans[j].id == 'content')
return innerSpans[j].innerHTML;
return null;
var PickerPerson = getPickerInputElement('Control UserField_upLevelDiv ID');
alert(PickerPerson);
// For Validation
if(PickerPerson == null)
alert('Please enter PP value.');
return false;
</script>
More information:
http://ankursharepoint.blogspot.in/2012/10/javascript-validation-of-people-picker.html
There are some similar threads for your reference.
http://social.msdn.microsoft.com/Forums/en-US/f1c2a651-a0fb-484d-af33-e7084439b6c8/validate-sharepoint-people-picker-using-javascript?forum=sharepointgeneralprevious
http://social.msdn.microsoft.com/Forums/en-US/df1664c6-a799-4f2b-8f9e-ac8c915c91f6/how-to-validate-people-picket-control-at-client-side-using-javascriptdesigner-in-new-formaspx?forum=sharepointgeneralprevious
http://social.msdn.microsoft.com/Forums/en-US/9021f00f-8830-4c3a-bdf1-03be84cfb6ca/people-picker-required-field-validation?forum=sharepointdevelopmentprevious
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Subtracting and Inserting new field
Hi,
I have a table:
Metric MetricDescription Season Measure
01 Cancellation Ho11
3
03 GF HO11
4
I need to make a new Row Based on Same season. I need to subtract GF- Cancellation and call it NS with 46 metric. So my table should look like
Metric MetricDescription Season Measure
01 Cancellation Ho11
3
03 GF HO11
4
46 NS
HO11 1
Any Suggestion?
SPPandeyI do have something like this but not sure how to do a subtraction o my select statement:
Insert Into Table_A
(Metric,
MetricDecription,
Season,
Measure)
select
(Metric,
MetricDecription,
Season,
Measure---- This is where I need to Insert that formula)
where Metric= '01' or Metric ='03'
group by....
SPPandey -
The new site is horrible. I want to download a complete CD with all songs listed in their album order. Instead, ITUNES creates multiple albums, each containing a few songs. I want the entire album with all songs grouped together. When I tried to creat a new album with all of these songs in order the site only lets me list 17 out of the 26 songs. I am blocked from adding the rest of the songs. The old site was so easy to use. I want a list of all albums with the respective songs listed. I can't get rid of the large album icons which are not helpful.
Hi,
Is the CD a compilation? If so, make sure that all tracks are shown as part of a compilation. Also add "Various Artist" to album artist field.
If the CD by a individual artist but has tracks that feature other artists, add main artists name to album artist field.
Jim -
Add new field into result of the transaction MD4C
i want more information into the result of MD4C
example:
delivery date of the purchase order and confirmation date of the purchase order and field USR06 of PRPS table and other field like
moving average price VERPR of the table MBEW and other information from SAP table related to purchase order or WBS elements or Order
thanks a lot for reply
best regards
PatriceUser exits and BAdI's for MD4C
Enhancement/ Business Add-in Description
Enhancement
CO610001 User exits: Assembly processing
M61X0001 User exits PP-MRP materials planning
M61X0002 User Exits PP-MRP Material Requirements Planning Evaluations
Business Add-in
MD_MRP_RUN_PARALLEL Add-Ins for parallel planning run of requirements planning
MD_PIR_FLEX_CONS BAdI for flexible planned ind. req. consumption/reduction
MD_PLANNING_RESULT BADI for Issuing Planning Result
MD_PLANNING_SCENARIO BAdI for Maintenance of Add. Parameters in Planning Scenario
MD_PLDORD_BOMEX_CIF BAdI: Deactivation of BOM Forced Explosion in CIF
MD_PLDORD_CHANGE BAdI for Changing Planned Orders
MD_PLDORD_POST BAdI: Update of Planned Orders
MD_PLDORD_SCHEDULING BAdI: Schedule Planned Orders
MD_PLDORD_TIME_STAMP BADI for publishing time stamp problems
MD_PURREQ_CHANGE BADI for changing purchase requisitions
MD_PURREQ_POST BADI for updating purchase requisitions
MD_PURREQ_REL_STRAT BAdI for Deactivating Release Strategy for MRP Purch. Reqs
MD_STOCK_TRANSFER BADI: Change the Requirement Date During Stock Transfer
MD_SUBCONT_LOGIC BADI: Determine Subcontracting Logic
MD_ADD_COL_EZPS BAdI: Extra Columns for Evaluation PP-MRP Reqmnts Planning
MD_ADD_COL_OVERVIEW BAdI: Display of Additional Columns in the Material Overview
MD_ADD_ELEMENTS BAdI for Adding Additional Requirements/Receipts
MD_ALTERN_EXPLOSION BAdI for Alternative Explosion of Planned Orders (IPPE)
MD_CHANGE_CALENDAR BAdI: Change Calendar for Range of Coverage Calculation
MD_CHANGE_MRP_DATA BAdI: Change Data when Importing MDPSX
MD_DISPLAY_ELEMENT BAdI for Changing Display of MRP Elements
MD_EXT_SUP BAdI for Determining the Issuing Storage Location
MD_INTERACT_PLANNING BAdI for Deactivating Changeability of MRP Elements
MD_LAST_LOT_EXACT BAdI for Calculating Last Lot Exactly in Individual Segment
MD_MODIFY_PRODVERS BAdI for Modifying Production Version
MD_MODIFY_SOURCE BAdI for Modifying Source Determination in MRP
MD_MRP_LIST BADI for further processing of MRP list
MD_MRP_PARAMETERS BAdI: Change Planning Parameters
Maybe you are looking for
-
Editing PDFs in Acrobat after creation in LiveCycle
Does anyone know of a way to edit a PDF (Forms->Edit Forms in Designer), after the form has been created in LiveCycle? -thanks
-
Hello A while ago I made a created a basic effect in Flash CS4 whereby a selection of logos on my web-page gradually disappeared (in the same spot, not shrinking in size first or any other of the effects displayed in the motion presets). I think thi
-
Will you loose the inf from your hardrive if you upgrade from snow lep to moutain lion
will? yes or not thanks
-
Hyperion S9 FR DB connection issue
Hi I am not able to open any FR or create new Reports in my FR studio or workspace. I am getting the following error in Workspace. com.hyperion.reporting.util.HyperionReportException: Error Loading DatasourceList to Repository com.hyperion.reporting.
-
Hello, We have a Windows Server 2008 R2 with iis 7.5 with some app pools running. Every 4 days (exactly) we get 403 13 errors in our iis log and all client connections are refused. The only way to solve that problem is to reboot the server. The probl